external js - defer code example
Example 1: javascript async script
<script async src="script.js"></script>
Example 2: script deferred
<script src="demo_defer.js" defer></script>
<script async src="script.js"></script>
<script src="demo_defer.js" defer></script>