Changed MO5.Promise to be usable with Node.js.