replace dom selector