title: Cordova CLI 6.3.0 window.plugins undefined
body: <p>I am compiling through build.phonegap.com
  I am using CLI 6.3.0</p>
  
  <p>In my index.html I have </p>
  
  <p><code>&lt;script type="text/javascript" src="cordova.js"&gt;&lt;/script&gt;</code></p>
  
  <p>in my code I have this</p>
  
  <pre><code>document.addEventListener("deviceready", onDeviceReady, false);
  
  
  onDeviceReady = function() {
      alert(window.plugins);
      alert("try 2");
      alert(cordova.plugins);    }
  </code></pre>
  
  <p>both are undefined.</p>
  
  <p>thanks</p>