deposit: ckeditor sanity check

* Avoid error if deposit form is not using ckeditor in any field.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
Thanks @greut I like it better as well

@jirikuncar I have added an extra commit with the $.each change