title: IIS sends js and css files with Mime text/html but only for SOME not all
body: <p>A handful of js and css files are not being loaded by the webpage (404 not found) because the mime type is coming back as text/html instead of text/css or application/x-javascript:</p>
  
  <p><a href="https://i.stack.imgur.com/PEkDM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PEkDM.png" alt="enter image description here"></a></p>
  
  <p>I have tried changing my .htaccess file to the following:</p>
  
  <pre><code>AddType text/x-component .htc
  AddType text/css .css
  AddType application/x-javascript .js
  </code></pre>
  
  <p>The resources that load versus the ones that do not are written in exactly the same way.  This one is working:</p>
  
  <pre><code>&lt;script src="assets/js/jquery-validate/jquery.validate.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>This one is not working:</p>
  
  <pre><code>&lt;script src="assets/js/jquery-ui-1.11.0.custom/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I have also tried editing the regedit entry for js to include the content type and perceived type:</p>
  
  <p><a href="https://i.stack.imgur.com/SMkoW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SMkoW.png" alt="enter image description here"></a></p>
  
  <p>I have also tried to add the following in my web.config:</p>
  
  <pre><code>&lt;system.webServer&gt;
      &lt;staticContent&gt;
           &lt;remove fileExtension=".js" /&gt;
           &lt;mimeMap fileExtension=".js" mimeType="application/x-javascript" /&gt;
           &lt;remove fileExtension=".css" /&gt;
           &lt;mimeMap fileExtension=".css" mimeType="text/css" /&gt;
      &lt;/staticContent&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>Same permissions are also set on all these files.  At this point, I know it has to be some configuration on the server because I have this exact same version of the code deployed on a different server with no issues...any ideas?</p>