Updated web.js
added index.html
redirected to index.html
fixed bugs with reading buffer