Updated web.js
index
buffer