Removes javafx dependency