Programmatically invoking a JavaFx Script