JavaScript Asynchronous Callback Manager