fxml with java script