adopting Cordova 3.0+ plugin calling conventions;