fix app.js file