js precompile