JS Image Carousel

1st attempt to write image carousel in JS (incomplete)