Added changes to app.js