Fixed app.js file