support also browsers without history api