compiling, fixin nojs a bit