We still need the 
+      var primElem = primInfoMain.parentNode;
+      var parent = primElem.parentNode;
+      parent.insertBefore(additInfoMain, primElem.nextElementSibling); 

part