style(animations): fix jshint errors