fix JavaFX dependency for Java 8, fix Javadoc