nl_tokens: A helper method for inserting an element at the current caret position .
pl_tokens: function ( $el ) { var caret = Math . min ( this . caretPos , this . items . length ) ; var el = $el [ 0 ] ; var target = this . <mask> || this . $control [ 0 ] ; if ( caret === 0 ) { target . insertBefore ( el , target . firstChild ) ; } else { target . insertBefore ( el , target . childNodes [ caret ] ) ; } this . setCaret ( caret + 1 ) ; }