Fixed nvd3 libraries d3 undefined error