fixed global d3 override when exiting; was breaking miso charts