Fixed a bug that caused a "tinyMCE undefined" error when submitting via AJAX.