Como carregar o editor ace

Eu estou tentando usar a biblioteca do editor de código Ace (http://ace.ajax.org/), mas estou tendo problemas. De acordo com o guia de incorporação, isso deve carregar os arquivos js necessários da Amazons CDN.

<script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>

No entanto, ele falha, no console Chromes mostra:

Could not load worker ace.js:1
DOMException {message: "SecurityError: DOM Exception 18", name: "SecurityError", code: 18, stack: "Error: An attempt was made to break through the se…cloudfront.net/src-min-noconflict/ace.js:1:76296)", INDEX_SIZE_ERR: 1…}
 ace.js:1

Eu também tentei colocar a pasta src-min da biblioteca ace localmente e carregá-la com

<script src="/js/ace/ace.js" type="text/javascript" charset="utf-8"></script>

Que também falhou com os erros:

Uncaught RangeError: Maximum call stack size exceeded
GET http://mysite/mode-javascript.js 404 (Not Found) 123f2c9_ace_1.js:1
GET http://mysite/notes/theme-monokai.js 404 (Not Found) 123f2c9_ace_1.js:1
Uncaught RangeError: Maximum call stack size exceeded

Por fim, tentei carregar todos os recursos js na pasta ace src-min, que também falhou com erros: S

questionAnswers(4)

yourAnswerToTheQuestion