Monkeypatch jscoverage design flaw.