Move javafx dependency