rjs error using listeners

I am using extjs html editor and added a :beforerender listener to it.
The listener is used for show and hide a combo box. This works fine in
FF but not in IE. Throws rjs error and the html editor is not rendered.

Please help....
Thanks in advance..