make d3 work without relaying on their server