This JS parse function produces clean HTML so you get the text portion without losing the links and images.