My first attempt at a PhoneGap application for iOS devices