latest changes to app.js