make addChildAtIndex() use createNewElement() so we get our correct classes
make addChildAtIndex() use createNewElement() so we get our correct classes