better compiling js files for production