precompile js testing before production