Updated web.js
read index.html file and return