Small 1k jquery function to animate a multi-frame PNG/JPG with various parameters for looping, reverse, onComplete etc