Very simple chatroom app with phonegap