Modified web.js to send index.html