If you hosting have Litespeed you only need this Javascript async & defer plg working well and speed up ES et al.
https://www.daycounts.com/shop/plugins/javascript-async-defer
Here you have some example files you can put in there but now you have to change to EasySocial 3.1.7 if you have that version:
/media/com_easysocial/scripts/site-3.1.6.min.js
/media/com_easysocial/scripts/admin-3.1.6.js
/media/com_easysocial/scripts/admin-3.1.6.min.js
/media/com_easysocial/scripts/admin-3.1.6-basic.js
/com_easysocial/scripts/admin-3.1.6-basic.min.js
/com_easysocial/scripts/bootloader.js
/media/com_easysocial/scripts/sharer.js
/media/com_easysocial/scripts/site-3.1.6.min.js
/media/com_easysocial/scripts/site-3.1.6-basic.js
/media/com_easysocial/scripts/site-3.1.6-basic.min.js
/media/com_easysocial/scripts/site/dashboard/default.js
/media/com_easysocial/scripts/site/registrations/registrations.js
/media/com_easysocial/scripts/site/search/osm.js
/media/com_easysocial/scripts/site/search/advanced.js
/media/com_easysocial/scripts/site/videos/list.js
/media/com_easysocial/scripts/uploader/uploader.js
/media/com_easysocial/scripts/uploader/queue.js
/media/com_easysocial/scripts/uploader/item.js
/media/advancedmodules/js/frontediting.js
/media/advancedmodules/js/frontediting.min.js
/templates/shaper_helixultimate/js/popper.min.js
/templates/shaper_helixultimate/js/bootstrap.min.js
/templates/shaper_helixultimate/js/jquery.countdown.min.js
/templates/shaper_helixultimate/js/main.js
/templates/shaper_helixultimate/js/system/frontediting.js
/components/com_sppagebuilder/assets/js/engine.js
/components/com_sppagebuilder/assets/js/jquery.magnific-popup.min.js
/components/com_sppagebuilder/assets/js/sppagebuilder.js
/components/com_sppagebuilder/assets/js/jquery.vide.js
/components/com_sppagebuilder/assets/js/jquery.loadscript.js
/components/com_sppagebuilder/assets/js/jquery.easypiechart.min.js
/components/com_sppagebuilder/assets/js/jquery.countdown.min.js
/components/com_sppagebuilder/assets/js/gmap.js
/components/com_sppagebuilder/assets/js/edit.js
/components/com_sppagebuilder/assets/js/actions.js
/components/com_spsimpleportfolio/assets/js/spsimpleportfolio.js
/components/com_spsimpleportfolio/assets/js/jquery.shuffle.modernizr.min.js
/components/com_spsimpleportfolio/assets/js/featherlight.min.js
/build/plugins/system/assets/js/bootstrap.min.js
/build/plugins/system/assets/js/admin/webfont.js
/build/plugins/system/assets/js/admin/modal.js
/build/plugins/system/assets/js/admin/menu.generator.js
/build/plugins/system/assets/js/admin/media.js
/build/plugins/system/assets/js/admin/layout.js
/build/plugins/system/assets/js/admin/helix-ultimate.js
/build/plugins/system/assets/js/admin/details.js
/build/plugins/system/assets/js/admin/blog-options.js
/media/plg_captcha_recaptcha/js/recaptcha.min.js
/media/plg_captcha_recaptcha/js/recaptcha.js
/media/th-TH/js/calendar.js
/media/th-TH/js/calendar-setup.js
/media/system/js/mootools-more-uncompressed.js
/media/system/js/mootools-more.js
/media/system/js/mootools-core-uncompressed.js
/media/system/js/mootools-core.js
/media/system/js/core.js
/media/com_contact/js/admin-contacts-modal.min.js
/media/com_contact/js/admin-contacts-modal.js
/media/sourcecoast/js/jq-bootstrap-1.8.3.js
/media/sourcecoast/js/jquery.placeholder.js
/media/sourcecoast/js/mod_sclogin.js
/media/jui/js/jquery.js
/media/jui/js/jquery.autocomplete.js
/media/jui/js/jquery.autocomplete.min.js
/media/jui/js/jquery.ui.core.js
/media/jui/js/jquery.ui.core.min.js
/media/jui/js/jquery.ui.sortable.js
/media/jui/js/jquery.ui.sortable.min.js
/media/jui/js/jquery-migrate.js
/media/jui/js/jquery-migrate.min.js
/media/jui/js/jquery-noconflict.js
/media/jui/js/ajax-chosen.js
/media/jui/js/ajax-chosen.min.js
/media/jui/js/bootstrap.js
/media/jui/js/bootstrap.min.js
/media/jui/js/bootstrap-tooltip-extended.js
/media/jui/js/bootstrap-tooltip-extended.min.js
/media/media/js/mediaelement-and-player.js
/media/media/js/mediaelement-and-player.min.js
/media/media/js/mediafield.js
/media/media/js/mediafield.min.js
/media/media/js/mediafield-mootools.js
/media/media/js/mediafield-mootools.min.js
/media/media/js/mediamanager.js
/media/media/js/mediamanager.min.js
/media/media/js/popup-imagemanager.js
/media/media/js/popup-imagemanager.min.js
/modules/mod_geekfacebookembed/fields/dependentselect/script.js
/administrator/components/com_sppagebuilder/assets/js/engine.js
/administrator/components/com_sppagebuilder/assets/js/actions.js
/administrator/components/com_sppagebuilder/assets/js/installer.js
/administrator/components/com_sppagebuilder/assets/js/media.js
/administrator/components/com_sppagebuilder/assets/js/script.js
/administrator/components/com_sppagebuilder/assets/js/utilities.js
/modules/mod_flexbanners/swfobject.js
/media/com_rsform/js/script.js
/media/com_rsform/js/recaptchav2.js
/media/com_rsform/js/frameworks/bootstrap3/bootstrap.min.js
/media/com_rsform/js/jquery/jquery.js
/media/com_rsform/js/jquery/jquery.min.js
/media/com_rsform/js/jquery/jquery-noconflict.js
/media/contenttemplater/js/script.js
/media/contenttemplater/js/script.min.js
/media/plg_captcha_recaptcha/js/recaptcha.min.js
/media/plg_captcha_recaptcha/js/recaptcha.js