Update animator.js