Update web.js

bugfixing