Updated D3 SVG Tree to change root node, depending on advert selected from search page