Use HTML5 history API when available in supported browsers