changed index.js to web.js