jQuery caret control for HTML contenteditable