Building a search and replace interface with react.js and draft.js | Hacker News Reader