Separated JS from HTML in Red-Black Tree coloring exercise.