Updated web.js
Reading from index
fixed an error