title: How to load a .js file 'locally'?
body: <p>First of all: 'Locally' neither means "localhost", nor "local folder". It means a code area or a code space or a code region.</p>
  
  <p>I have two JS (<code>*.js</code>) files for my site. One is to show a news ticker and other is to load something on hover. They are conflicting, and I can't remove any one of 'em because I need 'em.</p>
  
  <p>So a thing comes up to my mind is: as I can make many things locally, why not I load a js file locally? Suppose:</p>
  
  <pre><code>&lt;?php 
  if('condition') {
  DO IT ONCE;
  }
  ?&gt;
  
  &lt;?php 
  if('other_condition') {
  DO STH ELSE ONCE;
  }
  ?&gt;
  </code></pre>
  
  <p>In such case, the first condition doesn't bother the second condition. Even though the first one is doing, the second one is also doing well. No conflict, nothing.</p>
  
  <p>If I can load a JS locally for a specific purpose and then break the JS loading further, then if I load other JS, she won't find any JS before, because that's for a specific purpose for the specific region only.</p>
  
  <p>I think I'm clear with my idea. I'm here with a WordPress site, loading code specifically for home page using <code>is_home()</code> function. I want such a way to load a JS file for a region, and then break it to let the other JS function properly.</p>