Compiling Js code