An extremely simple promise library for deferred callbacks