Added some comments to app.js