Find the closest ancestor of the current element (or the current element itself) that matches a class.
Detatch this node from the DOM
Insert the passed in node after the current node
Like insertBefore but insert after the passed in node
Insert the passed in node before the current node
Like appendChild but add to the beginning
Remove this node from the DOM