First of all, I know there\'s libraries that provide polyfills for location.pushState
/popState
(History.js, Hash.js, jQuery hashchange), so please
I currently use PathJS in one of my applications. It has been the best decision that i have made. For your particular usecase take a look at HTML5 Example.
The piece of code that that makes the example work (from the source):
PathJS has some of the most wanted features of a routing library:
I found the last too points most attractive. You can find them here
I hope you find this useful.