style codemirror text field for disabled js
fix utf8 error in diff