title: Can't get PhantomJS to work with a simple example
body: <p>I've downloaded the executable and created a simlink to /usr/local/bin.</p>
  
  <p>I'm under Mac OSX 10.7</p>
  
  <p>When I then try to run a script that requires some module i.e.</p>
  
  <pre><code>var page = require('webpage').create();
  </code></pre>
  
  <p>I got an error </p>
  
  <pre><code>undefined:0 ReferenceError: Can't find variable: require
  </code></pre>
  
  <p>as if 'require' is not seen as a reserved word but interpreted as a variable symbol.</p>
  
  <p>(As an aside, whenever I lunch phantomjs a Sencha Touch icon appears in my Dock)</p>