fix issue with console.log in ios web workers