Bug fix in JS Carousel module