ow.ReactDOM;

            var loc = window.location;

            var connection = new WebSocket("ws://" + loc.host + "/ws");


            var RendererComp = React.createClass({
                setCode: function(code) {
                    this.setState({code : code});
                },
                render : function(){
                    if(this.state==null)
                    {
                        return React.createElement('div',null,'initial content');
                    }
                  