Can you format this similar to what you did in CatmullRomSpline.js?