This is my personal study for promises in JS using Q.js