Queue w/retry for jquery