title: Can I use jquery getScript() without a callback?
body: <p>I need to use a javascript function from an external js file inside another js file. This is basically the code I've tried:</p>
  
  <pre><code>$.getScript('js/myHelperFile.js');
  myHelperFunction();
  </code></pre>
  
  <p>This doesn't work - I get an error of "myHelperFunction is not defined".</p>
  
  <p>However, this code works:</p>
  
  <pre><code>$.getScript('js/myHelperFile.js', function(){myHelperFunction();});
  </code></pre>
  
  <p>I specifically want to be able to do it the first way - load the file at the top of my file, and then use any functions I need from there on. Is this possible, or am I misunderstanding how getScript works?</p>