JS library loading a carousel dynamically.