Update carousel.js

Fix to avoid removal of user set classes on carousel items.