Update carousel.js

Removed jshint comments