<script>
$( ".your-class" ).each(function( index ) {
let currentElement = $(this);
// Initialize Library Here
});
</script>
<script>
var allElements = document.getElementsByClassName( 'your-class' );
for ( var i = 0; i < allElements.length; i++ ) {
let currentElement = allElements[ i ];
// Initialize Library Here
}
</script>