Add Rich Text Editor 

Replaces NB's <code>textarea</code> with a Rich Text Editor, using the CKEDITOR library. Functionality includes Math Formula Formatting and Code Syntax Highlighting. 
this can still be in the original msg definition: 
var msg={
...
body: is_ckeditor_loaded ?  CKEDITOR.instances.nb_editor.getData() : $("textarea", self.element)[0].value;