Make it work under window.plugins

require throw errors in Cordova -v = 3.4.0-0.1.3. Cordova.exec is already available. Add the plugin under window.plugins object.
Merge pull request #5 from pabloezequiel/patch-1

Make it work under window.plugins