Do not fail with an error when rendering server-side
Do not fail with an error when rendering server-side

I should've probably declared `CM` outside of the if statement, but since it's not a `let`/`const` it will get hoisted to the top of the scope either way, it doesn't make much difference.
JedWatson/react-codemirror,JedWatson/react-codemirror