Promises/A+ 1.1 work -- correcting handling of resolve for first-level then-ables