Back in the day, ActiveX was Microsoft's alternative to Javascript. Specific to Internet Explorer obviously, it was pretty powerful and robust.
Technically, Flash is an alternative to Javascript as well but clearly, that's on it's way out.
Javascript will too be replaced one day; just happens now it's what's popular.