PhoneGap app: Using jQuery and Ajax to get messages from a remote server and display on iPhone