Updated web.js
Added index.html
Converted web.js to use file read