Reading index.html in web.js