MOBILE-3814 ddwtos: Use dom Promises to know if element is ready
MOBILE-3814 ddwtos: Use dom Promises to know if element is ready

reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile,reskit/moodlemobile