Upgraded to PhoneGap 3.1