renamed index.js to web.js