fix($animator): remove dependency on window.setTimeout.