Set optimal easing paths, remove redundant old d3 code.