update config to make heroku generate the global.js file