JQuery + CSS3 Animations, front-end practice