fixed syntax error in web.js