Update web.js
Add index.html
Add read buffer functionality