[util/runmode-standalone]

Modifies runmode-standalone.js so that it can be used in place of code
that only used codemirror.js and runmode.js for run mode.