modified web.js to have needed parenthesis