;
          },
          render: function() {
              var level = this.state.data == "connected" ? "success" : "danger";
              return (
              <div className={"alert alert-"+level} style={{margin: '2em'}}>{this.state.data}</div>
              );
          },
          set_msg: function(msg) {
              this.props.data = msg;
          }
      });

      var Messages = React.createClass(
      {
          displayName: 'messages',
          getInitialState: function() {
              