tries a window.worker detection