PhoneGap boilerplate