Add comments to app.js and engine.js