Using jquery deferred objects to load filters