Updated documentation for app.js