Substantially modified index.html and web.js