improved hash work for non push state browsers