add carousel.js to templates