Fixed another error in web.js