stack and heap headers are always rendered
clear jsPlumb so it doesn't render multiple connections/endpoints in the same place
merge