added notes to app.js