animationComplete: Refer to the default duration using array notation

Fixes gh-7116