Added enlightening comments to app.js