made changes to app.js