Updated web.js
Added index.html
added logic to read from index.html