Bananatag Systems interview question

How to best manage Asynchronous Javascript?