Fixed this scope in React.js example