Simple async helper library for JavaScript