cleaned up carousel JS