index added to web.js