removes typo bug in animate.js