Update to PhoneGap 3.1