Fixed React.js example