Usage of javafx in web page