Patch for phonenavigator, hoping to not cause errors on Chrome but still scope properly on Cordova.