Move compilation with sjs into Main.java