Right now we use codemirror's JavaScript mode on the website but there's a JSX mode now so we should start using that instead.

showLineNumbers: React.PropTypes.bool,
    editorTabTitle: React.PropTypes.string,
  },
  getDefaultProps: function() {
    return {
      transformer: function(code) {
        return babel.transform(code).code;
      },
      editorTabTitle: 'Live JSX Editor',
      showCompiledJSTab: true,
      showLineNumbers: false,
    };
  },
  getInitialState: function() {
    return {
      mode: this.MODES.JSX,
      code: this.props.codeText,
    };
  },
  handleCodeChange: function(value) {
    this.setState({code: value});
    this.executeCode();
  },
  handleCodeModeSwitch: function(mode) {
    this.setState({mode: mode});
  },
  compileCode: function() {
    return this.props.transformer(this.state.code);
  },
  render: function() {