use deferred in bootstrap widgets