title: jsshell executing external file
body: <p>i am learning how to use jsshell... i downloaded the latest build for mac here</p>
  
  <p><a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/jsshell-mac.zip" rel="nofollow">http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/jsshell-mac.zip</a></p>
  
  <p>i unzipped, run the shell doing some basic commands like... adding and loops. it runs fine, however when i try to let it run an external file "in the same folder" as the shell i get an error.</p>
  
  <pre><code>js&gt; js loop.js;
  typein:6:3 SyntaxError: missing ; before statement:
  typein:6:3 js loop.js;
  typein:6:3 ...^
  </code></pre>
  
  <p>there is a file called loop.js in the file folder as the shell which this simple logic</p>
  
  <pre><code>for(var i=1; i&lt;10; i++){
      print(i);
  }
  </code></pre>
  
  <p>Can someone please tell me what i am doing wrong?</p>
  
  <p>More updates...when i run it from the main folder, like this</p>
  
  <pre><code>./js loop.js
  </code></pre>
  
  <p>it works. by ./js i am executing the unix file. however when i am in the jsshell prompt. i can run js loop.js</p>