Platform-independent jQuery plugin for chatting