Revert "Fixes #3878 - add Deferreds around calls to write the custom widget to"

This reverts commit 4ed7584d5d3839b9e3e4a592f9dafce81286aa9f.
supposed to return a deferred when chaining promises. return original
promise instead
style and dependencies
defer activity until promises have been fulfilled. Fixes #3878