Оберните элементы в родительском JS

org_html = document.getElementById("slidesContainer").innerHTML;
new_html = "<div id='slidesInner'>" + org_html + "</div>";
document.getElementById("slidesContainer").innerHTML = new_html;
// @https://stackoverflow.com/users/185916/michal
ShanK