title: Google Maps API - Google Not Defined Error
body: <p>I am try to use the Google Maps API in my Backbone application, but I get an error.  Here is my code:</p>
  
  <pre><code>var MyView = MyParrentView.extend({
      events: {
         //my events
      },
      initialize: function (options) {
          $('head').append('&lt;script src="https://www.google.com/jsapi?key=MyAPIKey" type="text/javascript"&gt;&lt;/script&gt;');  
  
  
     if (google != undefined) {
                  google.load(
                      "earth",
                      "1",
                      {
                          "other_params":"sensor=false"
                      }
                  );
              }
    }
   ,
  </code></pre>
  
  <p>At <code>if (google != undefined) {</code> line, I get the error: <code>ReferenceError: google is not defined</code>.  Can anyone point me in the right direction to fix this or why this is happening?  I'm pretty new to using Google's API.  </p>
  
  <p>Thanks</p>