Removed cameraElement.removeChild() from youtube example and minor refactoring.