fix bug in requiring codemirror legacy modes

4 jobs for master in 4 minutes and 4 seconds (queued for 2 seconds)