working out the hash for IE 9 ( and other browsers without push state )