move from d3 wordpress pluging to something more generic