Codemirror refresh for demo purporses