Updated web.js
Added new index.html file
Changed web.js to read from buffer