Build your own client-side router with this set of utility functions