Fix to app.js