changes to JS carousel