title: DeviceReady not firing on PhoneGap Build (Bd)
body: <p>My config.xml is as follows:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
      &lt;widget xmlns = "http://www.w3.org/ns/widgets"
      xmlns:gap     = "http://phonegap.com/ns/1.0"
      id            = "com.example.test"
      versionCode   = "10" 
      version       = "1.0.0"&gt;
  
      &lt;gap:plugin name="org.apache.cordova.device" /&gt;
      &lt;gap:plugin name="org.apache.cordova.network-information" /&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>I reference both the device, and network information, however, with my JavaScript (wrapped within  within head in index.html):</p>
  
  <pre><code>&lt;script src='phonegap.js'&gt;&lt;/script&gt;
  &lt;script&gt;
      alert("Loaded.");
      document.addEventListener("deviceready", function() {
          alert("Fired.");
          alert(device.uuid);
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>I get a popup <code>Loaded.</code> as expected, but I don't get <code>Fired.</code> or the device's UUID either.</p>
  
  <p>I have tried adding separately the phonegap/cordova libraries respectively (one at a time):</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script src='phonegap.js'&gt;&lt;/script&gt;
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;script src='cordova.js'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>They cause the application to show <code>Error initializing Cordova: Class not found"</code>.</p>
  
  <p>Snap of plugins loaded into the online build:</p>
  
  <p><img src="https://i.stack.imgur.com/7F7sx.png" alt=""></p>
  
  <p>I'm running Android 4.0.3. I've also tried accessing device but it just says device in undefined.
  I have disabled hydration as well.
  What should I try next? (I'd like to get device.* and deviceready event to work)</p>