move nvd3 to scripts block