carousel.js: implement the add()