Updated web.js
Added index.html
Modified web.js to use buffer