You actually can spin up a background thread in the browser now using web workers[0]. Although, like you mentioned, you don't actually need threads for concurrency. The event loop handles concurrency even in a single threaded environment.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers...