Clean copy of PhoneGapDev