Web.js modified to read index.html