CodeMirror on blur updates to validate SQL