Ubik is a simple JavaScript queuing system that can run either client or server side with easy retries.