title: PhoneGap onDeviceReady not firing
body: <p>I'm new to phonegap so I just tried something out and was starting with the onDeviceReady method. The problem I'm encountering is, that the method doesn't fire. </p>
  
  <p>This is my complete code, pretty basic.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;Splashscreen Example&lt;/title&gt;
      &lt;script type="text/javascript" charset="utf-8" src="cordova.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" charset="utf-8" src="js/jquery-2.0.3.min.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript" charset="utf-8"&gt;
      document.addEventListener("deviceready", onDeviceReady, false);
  
  function onDeviceReady() {
      $("#texttest").css("display", "none");
  }
  &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;div id="texttest" style="display:block"&gt;text&lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>So now, when the app is launched the text should be hidden right? Well, the entire div should, but the device still shows me the "text". What am I doing wrong there? I also tried some other basic methods like</p>
  
  <pre><code>$("#texttest").hide()
  </code></pre>
  
  <p>but that didn't work either. This is the MainActivity.java</p>
  
  <pre><code>    package de.activevaluetenthousandfliesphonegap;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  import org.apache.cordova.*;
  
  public class MainActivity extends DroidGap {
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      super.loadUrl("file:///android_asset/www/index.html");
  }
  
  }
  </code></pre>