Update jquery.animateSprite.js

fix image onload on ie7/8