Fixing app.js a little