changes to app.js to run the index.html