Update carousel.js

Carousel.js relied on a globally scoped "panels" variable (eg. in the demo). If this was locally scoped or not called "panels" then Carousel.js would fail
Merge pull request #57 from damianharvey/patch-2

Update carousel.js