What is the root cause for an NS_ERROR_FAILURE?
<p>I load jQuery dynamically by creating a script element and setting the the src attribute to the library url.  For testing purposes I set the async to false.  After this change I got this error:</p>

<pre><code>NS_ERROR_FAILURE
</code></pre>

<p>I verified this was the superficial cause here: ( first answer )</p>

<p><a href="http://stackoverflow.com/questions/5133864/ajax-cross-domain-problem">AJAX Cross-Domain problem</a></p>

<p>What is the underlying issue that won't allow me to set async to false?</p>

<p><strong>Code</strong></p>

<pre><code>/*
**
**
**
*/
$Boot.addSRCNodeScript = function (src, callback) {
    var element = document.createElement('script');
    element.src = src;
    element.async = true; // setting this to false breaks script
    element.onload = callback;
    document.head.appendChild(element);
};
</code></pre>
