Check for null bodyHtml. require jQuery