Object.prototype.resolve removed (jQuery compatibility fix)