James Island family turns over 2-year-old girl following court order