Would be possible to execute code in a background thread in ejecta? Something like web workers...