Fixing app.js