Updated web.js
Added index.html
Modified web.js to read index.html
fixed bug with fs declaration