I want to exclude this js code

<script type="text/javascript"> 
    jQuery( document ).ready(function($) {
        
        $(document).on("click","[data-tab]",function() {
            const element = $(this);
            const tabID = element.data('tab');
            
            const tabContent = $([data-tab-content="${tabID});
            
            const currentElement = $([data-tab].activeTab);
            const currentTab = $([data-tab-content].active);
            
            
            element.addClass('activeTab');
            currentElement.removeClass('activeTab');
            currentTab.removeClass('active').hide();
            tabContent.addClass('active').show();
            
        });    
    });
   
</script>

I want to exclude this from litespeed js optimization, how i can do this?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer