Updated $.defer. Added 'wait' to the options. This is the option for how long to wait before doing the first promise.