update GA code to support hashchange