final changes to app.js