forward-compatible domManip