modified index.html and web.js