precompile javascript