made changes to web.js