fixes a webkit worker issue