ChatJS is a jQuery plugin for instant messaging. It’s completely client-side, so it’s completely platform agnostic. Server side communication is implemented through Adapters. The adapter is the piece of code that is responsible for handling client/server communication. ChatJS comes with a demo adapter that you can see running in the bottom right of this page.