fixed app.js file