Avoid selecting the same dom object multiple times
``` javascript
var results = d3.select("#results").html(null),
    table = results.append("table").attr("class", "tblResults"),
    thead = table.append("thead"),
    tbody = table.append("tbody");
```