add ckeditor dependencies and some varibles