Updated web.js
Added read from html file.
Use buffer tostring with utf-8 encoding.