Fix so jquery hashchange works with jQuery 1.9+