title: Including react's jsx file in script tag gives error
body: <p>I have some react js code, which if I embed it in my index.html works fine. But when I try to reference that code from an external .jsx file, it fails to access that code and throws an error. Please help.</p>
  
  <p>This is how I am referencing the jsx file</p>
  
  <pre><code>&lt;script type="text/jsx" src="autocomplete_js/custom_react.jsx"&gt;
  </code></pre>
  
  <p>These are the errors I get:</p>
  
  <p>Resource interpreted as Script but transferred with MIME type text/plain: "file:///C:/react/autocomplete_js/custom_react.jsx"</p>
  
  <p>XMLHttpRequest cannot load file:///C:/react/autocomplete_js/custom_react.jsx. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource</p>