edits to app.js