Fix iframe loading when embeded in Firefox sidebar

For some reason, the onload/onreadystatechange callbacks were not
getting called by Firefox when embeding the editor in a sidebar. This
fix may not be optimal but it works.