Updated the plugin to Cordova 3.0.0+ version.