added comments in app.js