Slices paragraphs to include only the first and second element.
$("p").slice(0, 2).wrapInner("<b></b>");