Added global calls repairParagraphsFirefox and repairParagraphsChrome so that one can ensure proper p tags