Update web.js
Added index.html
Changed web.js to read from file
fixed errors in web.js
second attemp to fix an error in web.js