Hello @MaxAllen
You can add defer tag to execute the script after the HTML has finished parsing instead of javascript blocking the parsing.
<script src=“myfile1.js” defer></script>
Here’s a reference to how to defer would work :<script> HTML script element - HTML | MDN