SailsJS Example of Socket.io - Messaging and Javascript.