refactoring html parsing logic to replace HtmlCleaner with Jsoup