Prepare for upgrade of codemirror