Update animation.js
Merge pull request #3 from TheSnakeCharmer2/patch-3

Update animation.js