the correct images are now being sent to animation.js