title: $.getScript returns status canceled and the application does not execute the callback function?
body: <h2>Environment</h2>
  
  <p>To automate the compression and the junction of my js files, I use <a href="http://nuget.org/List/Packages/Microsoft.Web.Optimization" rel="nofollow noreferrer">this</a> tool.</p>
  
  <p>Once installed and configured, the code below returns a js compressed and concatenated with all the JS folder <code>project</code></p>
  
  <p><code>&lt;script src="@BundleTable.Bundles.ResolveBundleUrl("~/Scripts/pages/project-projectPhotos/js")"&gt;&lt;/script&gt;</code></p>
  
  <h2>Problem</h2>
  
  <p>In my page, have the following code:</p>
  
  <pre><code>loaderPhotosPage = function(url) {
    $.getScript('/Scripts/pages/project-projectPhotos/js', function() {
      alert(url); //This code is not executed!! Here's the problem;
    });
  };
  </code></pre>
  
  <p><code>alert</code> is never executed!</p>
  
  <h2>Tests</h2>
  
  <p>To simulate a test tool using Google Chrome Developer Tools, I got the following results:</p>
  
  <p><strong>Code executed on Google Chrome Developer</strong></p>
  
  <p>Look at the console, and the header. The execution is very successful!</p>
  
  <p><img src="https://i.stack.imgur.com/BV1nR.png" alt="Code executed on Google Chrome Developer"></p>
  
  <p>Now the preview result</p>
  
  <p><img src="https://i.stack.imgur.com/Bv2OW.png" alt="Result of script on Google Chrome Developer"></p>
  
  <p>The HTTP status is as canceled, why? Yet the code in the console was running normally (<strong>text: success</strong>)</p>
  
  <p><img src="https://i.stack.imgur.com/nGrSq.png" alt="Http Status"></p>
  
  <p>I put the js file complete at <a href="https://gist.github.com/1385633" rel="nofollow noreferrer">this</a> link.</p>
  
  <h2>Another test:</h2>
  
  <p>See the get, with the link of the script is running normally!</p>
  
  <p><img src="https://i.stack.imgur.com/Oahoq.png" alt="Get Script"></p>
  
  <p><strong>Thanks for the help!</strong></p>