Edits to app.js file