got key generation working with async web worker