Updates for PhoneGap 3.x