Update web.js
fixed bug