title: PhoneGap (Cordova) app crashes when loading google chart API
body: <p><strong>I'm testing this app on a iOS Simulator</strong></p>
  
  <p>Whenever I run this code:</p>
  
  <pre><code>google.load("visualization", "1", {packages:["corechart"]});
  </code></pre>
  
  <p>My phonegap application crashes to a completely white screen. I have a page, where I have some random content and a button, that is assigned a <code>.click()</code> <code>jQuery</code> listener to start loading the google chart api. Whenever I click that button, everything dissapears and I'm left with a blank screen.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>$( '#chartsThirdStep' ).live( 'pageinit',function(event){
  
      $("#chartThirdStepGoButton").click(function(event){
  
          parseChartInfo();
      });
  });
  
  function parseChartInfo() {
  
      console.log("parseChartInfo()");
      google.load("visualization", "1", {packages:["corechart"]});
      // app completely crashes here - all jquery mobile stuff dissapears
      // and i'm left with a blank screen on the simulator.
      //google.setOnLoadCallback(drawChart);
  }
  </code></pre>
  
  <p>I'm using:</p>
  
  <ul>
  <li>Xcode v4.2</li>
  <li>Cordova v1.9.0</li>
  <li>jQuery mobile v1.1.1</li>
  <li>jQuery v1.7.1</li>
  <li><a href="https://www.google.com/jsapi" rel="nofollow">https://www.google.com/jsapi</a></li>
  <li>Mac OS X v10.6.8</li>
  <li>iOS Simulator v5.0 (272)</li>
  </ul>