Modified web.js to add index.html