Create spriteAnimate.js