Fix callback handling in codemirror