js worker fix