A small script that executes the given commands AFTER
all animation is done.

I created this small scripts, it seems like many, many people would like
to do some commands after all animations are done, which make sense
because jQuery animations are asynchronous, which means that the
other lines of code are being executed while the animation is still in progress.

as always, jQuery is required.

enjoy:

waitForAnimation.js