Fixing hashchange watch.