Fix introspect popover to work with CodeMirror 3