updated index.html and app.js