Animating Font Awesome Icons using JavaScript