Improve style editor browser detection and handle browsers that don't support codemirror
Merge pull request #681 from jericks/style_editor

Fix style editor on brewers that don't support codemirror.