animation.js - prepare for engine update