JavaScript for easy jCarousel integration