changes to app.js