Updated web.js
Added index.html
Fixed buffer and read file bug.