Localized the codemirror variables