SwarmJS, the callback manager