using PhoneGap Build version of initialization