create web.js file that is identical to index.js