converted assertions over to referee style
use the xhr as the deferred for template loading status rather than a manually managed deferred object