title: How to include an external javascript file conditionally?
body: <p>I have this code:</p>
  
  <pre><code>&lt;script src="http://external/js/file/url.js"&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to do something like this-</p>
  
  <pre><code>&lt;script&gt;
  if(2&gt;1){
  //include http://external/js/file/url.js
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>Any idea?</p>