reading from index.html in web.js