Update canvas-animation.js