Changed the output to html instead of xml to fix problem with empty divs and script tags