There should be a dummy x() function in the standard_text_editor.js file, that just does a return.

function x () {
return;
}

Can't remember the reason this was put in, think something IE related.