fixing bug for ckeditor js