title: phonegap 3.5 document.addEventListener deviceready not working
body: <p>I installed phonegap and then I installed cordova from cmd using npm (nodejs)</p>
  
  <p>I have phonegap 3.5</p>
  
  <p>My problem is  <strong>document.addEventListener deviceready</strong> is not working in index.html</p>
  
  <p>I also add alert in my index.js at this :</p>
  
  <pre><code>onDeviceReady: function() {
      app.receivedEvent('deviceready');
  
      alert('test ready');
  
  
  },
  </code></pre>
  
  <p>which is also not working.</p>
  
  <p>I copied cordova.js from "platforms\android\assets\www to my index.html</p>
  
  <p>what is app.initialize(); and what's the link between index.js and app.initialize();</p>
  
  <p>Can someone explain or any link with all details?</p>
  
  <p>I have to put <strong>app.initialize();</strong> in index.js?</p>
  
  <p>Thank you..</p>