Dead simple Promises/A+ implementation