Replace all the paragraphs with empty div elements.
$("p").replaceWith(document.createElement("div"));