Fix broken back button

Previous hack broke the back button as it manipulated the same body
element as stored in the cache. This fixes this by cloning the body
and then using this cloned body as the new content. Nasty.