JBIDE-17644 BrowserSim: Fixing console log functions for javaFx (JDK 8)