Update PhoneGapService.js