added precompile for js