fix ckeditor issue when embedded in an ajax request