Updated web.js
Added index.html
added buffer to read index.html
added fs dependency