fix($animate): use getElementsByClassName instead of querySelector