changed jQuery deferreds to ES6 standard/rsvp style Promise/A+ promises