Javascript was not fast until Google and others poured money into it because it was the only choice for the browser. Presumably Python would have had the same experience.
It would be at least as fast if it wasn't burdened with decades of legacy API compatibility.