Mini browser-middleware for Ways, supporting both pushState and #hash urls.