Improve React createClass syntax