modified index.html and app.js