Fixed PhoneGap API to Cordova Core Plugin