Updated web.js
Added index.html
Added use of index.html
Added require for fs