Update idangerous.swiper.js

changing the addClassToHtmlString to be more generic and not rely on ul.