Cleaning up tinymce api calls