Hashchange support for History API