For the record, I was having this problem (javascript error on pages with tinymce when editting was turned on), and it turns out my custom theme had
<div id="region-pre">
and
<div id="region-post">
and both of them needed class="blocks-region"
Making that change fixed the problem.