programatically invoking a JavaFX script