Updated the plugin and example to Cordova 2.3.