Replaces Promise to compatible with Promises/A+ stuff
Merge pull request #351 from yurydelendik/promise-a-plus

Replaces Promise to compatible with Promises/A+ stuff