I've been killed kicking around the idea of doing something similar, in go, with the domain I own ChatFor.Us
JavaScript encryption, as others have mentioned is the thing I see I was planning that's missing from yours.
I'm planning on going a different direction with the domain, this functionality for private messaging for a platform set up for chat rooms as well.
Right now though I'm investigating a node.js and rethinkdb infrastructure, but that's also because I will need to persist data somehow.
Thanks for building this, at least validates that someone else has similar ideas.