modified web.js to use index.html
fixed typo
fixed typo