more precompile for JS