fix typo in JS Animation