fix second argument of deferred.notifyWith()

This method takes an array as it’s second argument, just like
deferred.resolveWith() and .deferred.rejectWith()