precompile js for production