Adresses #238 - Used header.detach() instead header and content selection to account for page div modifications inside the js view code.