Update js/codemirror-ui.js

Added the getValue() that is present in the CM lib, but not in this one.