added all changes to index.html and finalized app.js