get JS ready for CKEDITOR plugin