title: JS - Can't combine lib files
body: <p>I have multiple lib files in an an index.html file, that are loaded in proper sequence for an app I am running.</p>
  
  <pre><code>&lt;!-- example of some of them... --&gt;
  &lt;script src="/./sys/lib/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/jquery.ui.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/jquery.easing.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/underscore.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/handlebars.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/backbone.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/moment.min.js"&gt;&lt;/script&gt;
  &lt;script src="/./sys/lib/libs.extensions.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>These run fine, they are already all minified.</p>
  
  <p>Now, I want to combine these all into one file for load speed:</p>
  
  <pre><code>&lt;script src="/./sys/lib/libs.all.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>So I open up the new <code>libs.all.js</code> file, and one by one paste the minified .js files into it, with <em>zero</em> modification, in the <em>exact same sequence</em> as listed above. This works until I get to moment.js. When I then paste that in and run it, I get a JS error.</p>
  
  <pre><code>TypeError: (intermediate value)(...) is not a function
  </code></pre>
  
  <p>I don't get what I am missing - if I paste them in the right sequence as they synch loaded in the HTML file, what is the difference?</p>