<p><pre><code>    &lt;script&gt;
      var cb = function() {
        var l = document.createElement(&#x27;link&#x27;); l.rel = &#x27;stylesheet&#x27;;
        l.href = &#x27;small.css&#x27;;
        var h = document.getElementsByTagName(&#x27;head&#x27;)[0]; h.parentNode.insertBefore(l, h);
      };
      var raf = requestAnimationFrame || mozRequestAnimationFrame ||
          webkitRequestAnimationFrame || msRequestAnimationFrame;
      if (raf) raf(cb);
      else window.addEventListener(&#x27;load&#x27;, cb);
    &lt;&#x2F;script&gt;
</code></pre>
Seems like it&#x27;s time for a <i>defer</i> attribute on &lt;link&gt;.