Extract url rewriting code
Redirect to the correct isbn
Put correct values in req.params rather than req.l2b, handle lower case country and currency identifiers.
Remove the JSONP callback related code (better implemented as a wrapper around the whole site)