This post now on http://devkini.xy/javascript-promise/