Improved the CodeMirror previewer