Actano interview question

Can you explain how to workaround Javascript being single-threaded?