A minimalist JavaScript Promises/A implementation