Update carousel.py

js needed in carousel.py