Fixed nvd3 importing issues
Fixed template rendering issue