Changed random color generator in d3 code