fixes d3 selection of rects and comments out jQuery