precompiles js for production