Update animator.js

fixed typo