Loading critical d3 resources locally