read index.html into web.js