Simple Ratchet JS application for iOS, android using PhoneGap