change index.js to web.js