Add 'd3' and 'window' to globals to allow loading nvd3 in node