minor error js animation change