Updated web.js
Added index.html
modified web.js with buffer