sb-crinum: You need setTimeout or getAnimationFrame