Adding callbacks to Cordova exec