[JENKINS-25455] Avoid zero height of CodeMirror textarea

https://issues.jenkins-ci.org/browse/JENKINS-25455
For some reason it doesn't work only with `codemirror-mode: shell` and also `mode` has to be setup in order to script highlighting takes effect