fixed web.js file