fixed typo in web.js