DOM promises -> ES6 promises