title: How to correctly include lodash/underscore on website with conflicting libs?
body: <p>I have a website that includes a number of third-party js modules via <code>script</code> tag. I need to add <code>lodash</code> or <code>underscore</code> for my code, but if I simply add it from CDN like this:</p>
  
  <pre><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>then badly written libs die terrible death because they expect <code>_</code> to be something else. I know that <code>lodash</code>/<code>underscore</code> have something called "no conflict" mode, that requires <code>js</code> code to be executed:</p>
  
  <pre><code>var lodash = _.noConflict();
  </code></pre>
  
  <p>But this code needs to be executed somewhere, and it's really hard for me to ensure that it's executed before all badly written libs. Is it any simple way to include <code>lodash</code> already in noconflict mode, so i don't need to search for a safe place to enable noconflict mode manually? like <code>lodash.min.noconflict.js</code>?</p>