Url-based router for Node.js and browsers.