removed irrelevant d3js stuff