fix hybrid Scala/Java JS compiler and test framework