Modified web.js to send out index.html