Uses jQuery.
The resources used (must be on same server as JS) will be:
These dump the content into the div as if it is HTML and so it becomes one big paragraph.
(pre tag)
This gets the content and surrounds it with the <pre> tag - which respects its linebreaks.