Promises/A+ v1.1 implementation