Polyfill of Promise for node