Updated to change cordova.exec signature to be compatible with 2.7.x version