add q promise to nodejs