Add history API support to our router