A JavaScript promise retryer with a mixin for Underscore.js and jQuery plugin