Javascript library for illustrating spline interpolation