Update web.js for test