updated web.js to display contents of index.html
bug fix
typo fix