Added index.html
Added reference to index.html in web.js
Fixed bugs in web.js