Adding animating and chainig HTML snippets