That's because heavyweight clientside applications are only a more recent thing and JavaScript engines have improved alot.
JavaScript is great for event based programmming because of it's scoping rules. Python can't offer that.
That's why a few langang