Updated web.js
Added index.html
added support to read in index.html to buffer
fixing bug