Updated web.js in order to read index.html2