Update web.js to example - 2