Recursive JS script that creates a randomly colored fractal tree