Trying Promise in Node.js- commit#2