updated js for carousels in first tab - was previously setting the data of carousel=true regardless of whether there was a carousel in the tab or not