a JQuery plugin for simulating history with either HTML5 History API or hashchange