tidying up - made some basic changes to app.js and index.html to further align with the tutorial