removing d3js script from the head