@cahrens Please use:

    window.tinyMCE !== undefined && window.tinyMCE.activeEditor !== undefined

In IE your variant will throw an error if `tinyMCE` is not defined.