IOS phonegap/cordova custom plugin