The jQuery Way

<script>
$( ".your-class" ).each(function( index ) {
  let currentElement = $(this);
	// Initialize Library Here
});
</script>

The Javascript Way

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