Updated web.js
adding index and reading from it