add hashchange.