<?php
/**
 * Optimized Footer JS - Async Loading for Better Performance
 * 
 * Strategy:
 * 1. Load all footer scripts with defer attribute
 * 2. Scripts execute in order but don't block page rendering
 */
?>

<!-- Footer JavaScript - Deferred Loading -->
<script src="<?php echo getJsUrl('nice-select.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('datatables.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('datatables.uikit.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('rating.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('jquery.upload.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('clipboard.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('cookieconsent.min.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('main.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('notification-bell.js'); ?>" defer></script>
<script src="<?php echo getJsUrl('footer-categories.js'); ?>?v=<?php echo time(); ?>" defer></script>
