Attempt at a PhoneGap application