title: Two self invoking anonymous functions defined causing error
body: <p>I've two self invoking functions but I'm getting an error</p>
  
  <pre><code>Uncaught TypeError: undefined is not a function
  </code></pre>
  
  <p><strong>code:</strong></p>
  
  <pre><code>(function(){  //a.min.js
      console.log('main')
  })()
  
  (function(){ //b.min.js
      console.log('two')
  })()
  </code></pre>
  
  <p>Thanks guys for the solution but I wonder how this can be fixed if concatenation and minification is done through some automation tools like gulp</p>