Updated to use 'ace' instead of 'codemirror'