Begin transition from D3 to jsPlumb by removing some unnecessary D3 stuff and adding the start of jsPlumb stuff