Attempting to implement CodeMirror.js, still not working yet
Rearranging the demo code