title: unable to load external javascript file in codeigniter view
body: <p>I have the following directory structure </p>
  
  <pre><code>*application
  *media
  *system
  </code></pre>
  
  <p>I place my js files inside the media/js folder but when i try to include the js file in my view</p>
  
  <pre><code>&lt;script type="text/javascript" src="media/js/common_functions.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>It gives the following error </p>
  
  <pre><code>Resource interpreted as Script but transferred with MIME type text/html
  </code></pre>
  
  <p>and it does not load the js file.. even the jquery file.. can sombody tell me what is the problem. what I may be doing wrong ?</p>