updated friendlycode (codemirror 2 -> 3)