Load codemirror modula with needed modes and adding codemirror css only when needed