debugging app.js