Keep in mind we're not talking just about JS on the web running in web browsers. It runs on servers. It runs as standalone applications. If you are targeting a non-web environment you're not writing for quirks of different browsers, you know the runtime environment you are targeting explicitly. It isn't that bad.