caretToEnd is a jQuery plugin.  It set's the caret position to the end of the text in any HTML5 element that's text editable/contenteditable property to "true"