Added index.html support to web.js