A simple Promise/A+  implementation for node.js and browser