Components to animate in JavaScript