Fixed TinyMCE JavaScript errors