Updated web.js to fix syntax error