Better way to find child elements of carousel.

I ran into this problem when I added prev and next buttons markup between the id="carousel" and class="carousel-inner" tags.