Introducing promise.js scheme.