Fixed app.js issue