updated web.js
Added index.html
web.js now reading index from buffer