add some more comments to app.js