A very basic JavaScript routing library extracted from Backbone's Router.