trim base and combine DOM editing plugins