Updated web.js
Added index.html
read form index.html
use buffer.toString as string, not function