Fixed variable name typo in web.js