This won't work, because it's a top-level variable.  It either has to be `typeof tinymce != "undefined"` or `window.tinymce !== undefined`