title: In PyCharm: "Unused local variable..." using multiple JavaScript template files
body: <p>I'm using PyCharm for my Django project and In my file <code>product_header_js.html</code>:</p>
  
  <pre><code>&lt;script&gt;
      {% include 'global_variables.js' %}
      {% include 'update_scene_function.js' %}
      ...
      // I may use variables in here or in update_scene_function.js
  &lt;/script&gt;
  </code></pre>
  
  <p>I would like to use variables in <code>global_variables.js</code> in my <code>update_scene_function.js</code> file and <code>product_header_js.html</code> file. PyCharm lets me do this, but gives me the error <code>Unused local variable...</code> in <code>global_variables.js</code> and all my variables are greyed out because PyCharm doesn't think they are being used. Is there anyway to fix PyCharm?</p>