added TinyMCE custom functions