Using when https://github.com/cujojs/when seems to have good implementation of Promises/A i.e. the chaining of .then() works
– Updated:
–
public