added comments for app.js file