adding code mirror for console