You can use Promise standard object instead of JSDeferred now!
JSDeferred is born before Promise. It is no longer necessary to use JSDeferred because you can use the standard Promise now.
See: http://cho45.stfuawsc.com/jsdeferred/