Javascript red-black tree illustrated in HTML/CSS