Fixed a variable name in web.js

Fixed a variable name in the 'error' callback of the '/orders' route.