Fixed window.onpopstate not popping on Firefox.  Fixes #23