Server and Browser code are really the same. It's magic.
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).