added comments on app.js