Create pathAnimation.js