Update to app.js