Doodle clone in React.js