A (tiny) JavaScript Function Queue