update web.js to fix merge issue