Replaced codemirror onFocus by body focusIn listener