"Apple has too much control over the web, so let's build native apps in Apple's walled garden" is not exactly the most persuasive argument.
It doesn't matter what you say you support if the consequences of what you do hurts that goal.
What new walled gardens do you think would be created if JavaScript was removed from browsers?
MacOS and iOS apps will need to be written in Swift, so you better hope all devs know Swift and have Macs to write code in.
Windows Apps will need to be written in... uh, C#? Good like finding as many devs for that as there are currently for JS.