Updated web.js
Added index.html
Read from index.html
corrected spelling mistake
added buf.toString