getting PhoneGap to load