Fix javascript link to D3