A+ promise in gopherjs as defined at http://promises-aplus.github.io/promises-spec/