removing some lines in d3 code