Light weight promise implementation for the browser A+ Compliant