Refreshing CodeMirror.