Use 'exports' instead of 'window'

Use 'exports.tinymce' instead of 'window.tinymce'
This is very useful for the protection of `tinymce`