fixing app.js