nl_tokens: Insert element to the before of specific child by index
pl_tokens: function insertBefore ( parent , child , <mask> ) { var parentEl = parent . el , childEl = child . el ; if ( parentEl !== undefined && childEl !== undefined ) { if ( parentEl . childNodes [ index ] !== undefined ) { parentEl . insertBefore ( childEl , parentEl . childNodes [ index ] ) ; } else { parentEl . appendChild ( childEl ) ; } } }