Reverted commit 7aa648a923f50af02dea07b37cb83049caf6f72d by pebra, for our application (Cordova 3.4.1-0.1.0) it works attaching plugins directly to window