Amendments..

Added JQuery (no conflict mode)
Added Emacs keymap (availability) for codemirror
(switch it on in the browser Console for now)

Placed timed triggers into document ready (experimental)

Added CodeMirror defaults (undo depth 100, lineNumbers, indent without
tabs, smart indent, menlo codemirror theme)