Added some much needed comments to app.js