edits to app.js and index.html