Updated web.js
Added index.html
buf.toString()