title: ChildBrowser onLocationChange not working
body: <p>Basically I am using ChildBrowser on iOS, it works almost perfectly.  The problem is the onLocationChange, onClose and onOpenExternal don't work and for the life of me I can't figure out why.</p>
  
  <p>Any help would be much appreciated     </p>
  
  <pre><code>&lt;script type="text/javascript" charset="utf-8"&gt;
      var cb;
      function onBodyLoad()
      {
          document.addEventListener("deviceready",onDeviceReady,false);
      }
      /* PhoneGap has been initialized and is ready to roll */
      function onDeviceReady()
      {
          console.log("Device Ready");
          cb = ChildBrowser.install();
      }
  
      function openChildBrowser(url)
      {
          console.log("New Url"+url);
          try {
              cb.showWebPage(url);
              cb.onLocationChange = function(loc){ root.locChanged(loc); };
              cb.onClose = function(){root.onCloseBrowser()};
              cb.onOpenExternal = function(){root.onOpenExternal();};
          }
          catch (err)
          {
              alert(err);
          }
      }
  
      function onCloseBrowser()
      {
          console.log("closed");
          alert("In index.html child browser closed");
      }
  
      function locChanged(loc)
      {
          console.log("new loc:"+loc);
          childBrowser.close();
          alert("In index.html new loc = " + loc);
      }
  
      function onOpenExternal()
      {
          console.log("new loc:");
          alert("In index.html onOpenExternal");
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>I have tried window.plugins.childBrowser.onLocationChange ect.</p>