altered web.js