Example from 2013 Federal GIS conference on how to use Dojo's deferred & deferredList in an application