/** @jsx REACT.DOM */
import React from 'react';

export default React.createClass({
  render: function () {
    return (
      <div className="control-panel">
        <p>{this.props.track ? this.props.track.title : 'CONTROL PANEL'}</p>
      </div>
    );
  }
});

@@ -106,130 +106,167 @@
 ) %7B%0A
-    return (%0A      %3Cdiv className=%22control-panel%22%3E%0A        %3Cp%3E%7Bthis.props.track ? this.props.track.title : 'CONTROL PANEL'
+%0A    const trackTitle = this.props.track ? this.props.track.title : 'CONTROL PANEL';%0A%0A    return (%0A      %3Cdiv className=%22control-panel%22%3E%0A        %3Cp%3E%7BtrackTitle
 %7D%3C/p
@@ -287,16 +287,17 @@
 %0A    );%0A
+%0A
   %7D%0A%7D);%0A

Move control panel title into a variable