Chatroom prototype ported to boostrap.js