improved code mirror editor