Helper for mixing in a promise implementation to underscore.js