Update animation.js

Added a needed coma after curve: 'ease-in-out', in the comments.