check to ensure response is HTML before adding comment