added working javascript to insert d3 graph