Updates to app.js