updated web.js
Added index.html
Reading from index
bad bufffer definition