Modified web.js to read contents of index.html
Corrected web.js errors