Updated web.js
Added index.html
web.js now uses buf.toString