app.js fixed