Add notes and documentation to the app.js file