replaced codemirror with ace editor