If the client or editor insists on using this method, one way around it would be to determine if the page is in Edit Mode in Kentico and set the loop to false.
var inKentico = $("body").hasClass("EditMode");
Another way to handle looping carousels and avoid all the potential issues is to create a custom page type for the items in your carousel and use a repeater to display the information.
Information on creating page types and displaying data can be found in the Kentico documentation at:
Loading and Displaying Data on Websites
Regardless of the new plugins created to make pages more user friendly and responsive, Kentico is a versatile CMS that gives developers and editors multiple avenues to manage content regardless of the requirements of the plugin.