Phonegap chat plugin