compatible with jquery 1.9

Based on https://github.com/cowboy/jquery-hashchange/pull/23