Updated web.js
Added index.html
Added buffer in index.html
Added require fs.
Fixed buffer bug.