Add JQueryPopStateEventObject for popstate events.

I think this is the right way to do this. Let me know if not!