Lightweight Web Worker API implementation with native threads