updates to app.js