fix(element): fix an error where all.then() wasn't calling callbacks.

Closes #267