Explicitly setting load order
<p>I have a slight problem.</p>

<p>I need to show some safety information in a JS drawer that the page loads with open. The images creating the drawer are kind of hefty and as such the safety text in the drawer render prior to the background, creating a really ugly loading experiance. Is there a easy way I can say </p>

<p>DO NOT LOAD safetyText UNTIL safetyBG is loaded ?</p>

<p>We're not using any libraries (i.e. jQuery) so a JS solution would have to work as a script by itself.</p>
