Above is the frame containing the IRC client. It does nothing by default, you need to post a message to it (with client.contentWindow.postMessage, an example is commented out in the source code of this page) to tell it to connect to a server's WebSocket, what channel to join, etc.

Use your browser's web console to experiment a little; connect to a server of your choice and start talking!