title: window.plugins undefined in cordova-2.0.0
body: <p>I'm trying to use the BarcodeScanner plugin for Cordova in a BlackBerry device without luck. The sample code makes use of this structure:</p>
  
  <pre><code>window.plugins.BarcodeScanner...
  </code></pre>
  
  <p>but <code>window.plugins</code> is <code>undefined</code>.</p>
  
  <p>I tried with a fresh new application and <code>window.plugins</code> continues to be <code>undefined</code> (I mean, the sample application without any addition). </p>
  
  <p>Did the api have changed and the documentation is outdated or there's something I'm missing?</p>
  
  <p>Thanks!</p>