modifies app.js file for deployment