title: Casperjs cannot access same global objects as in from browsers console
body: <p>I am new to Casperjs, phantomjs .I have been trying hard to create some page automation to login and take some steps in a CMS but i am having issues with accessing the global window variables from casperjs <code>evaluate()</code> function. the below example is just checking jquery on Google. Jquery exists in the page and some other global functions but i can't access them from casperjs.</p>
  
  <pre><code>casper.start('https://www.google.ca/#hl=en', function() {
  
  // search for 'casperjs' from google form
  this.fill('form[action="/search"]', { q: 'casperjs' }, false);
  });
  
  casper.then(function() {
    this.evaluate(function jquery() {
        console.log('looking for jquery ---');
        console.log($ + 'exists');
    });
  });
  </code></pre>
  
  <p>getting error - `ReferenceError: Can't find variable: $</p>
  
  <p>How can i fix this ? </p>
  
  <p>Any help is appreciated :)</p>