minimalist object to handle parallel js function execution and callback