Updated the plugin and example to Cordova 2.4.