A tiny javascript library to control task flow