With JavaScript, in most cases, the thing that users care the most about is load time. It's often better to use a simple AST interpreter for JavaScript than a clever compiler, because you can start executing the interpreter as soon as you've got the text. If you spend more than a few ms getting the JS ready to run, users notice even if the resulting code is faster.
The 'often' is the important bit here, because some pages use JavaScript extensively for animations, games, and so on. In this case, users will notice if it's slow. They'll also notice if it's eating all of the CPU on their mobile device and flattening the battery. It's better in this case to switch to an optimised compiled representation as soon as possible, because you can get away with running the game slowly for a few second (while it's typically loading assets and displaying splash screens anyway), but after that people notice.
In both cases, after a while you've got some useful profiling data and so you want to recompile and generate more optimised code (unless it's just doing menu animations and the JavaScript is using 1% of your CPU, in which case the compiler is likely to consume more CPU time than the compiled code will save). Ideally, you want to do this in the background, on another core (or, at least, on a lower-priority thread on the same core), because otherwise you're interrupting the thing that the user cares about to run the compiler.
[1] 'Interpreted' in V8 really means compiled with no optimisations.
Apple has 7.68% of the desktop market and 15.42% of the mobile market. They can pull a lot of stuff without getting into trouble because they don't have anything like the market share required to exert undue influence on the market. When they have larger shares, for example in the online music distribution market a few years ago, they do get investigated.
Your comment makes as much sense as complaining that your corner shop doesn't get into trouble for doing things that would be the target of antitrust investigations if Walmart did them. Apple is a highly profitable niche player, but still a niche player. They can't use their dominant position in one market to gain prominence in another because they don't have a dominant position in any market and haven't since the iPod.
From what I've heard from ex-Nokia people, it wasn't just senior management that lacked direction. They had internal teams all developing complete stacks in isolation and competing for resources. Elop wasn't completely wrong: making them all focus on a single platform was probably the only thing that could have saved Nokia, and Windows Phone wasn't a completely ludicrous choice, as they did want something to differentiate themselves from the competition and there weren't any other significant Windows Phone vendors to compete with.
Pushing ahead with Linux + Qt might have worked, but only if they'd fired about 90% of middle management and reorganised the teams. Even then, there would likely have been a lot of resentment from the various teams that had their work discarded in favour of another's. Remember that Nokia didn't have a Linux + Qt platform, they had several, all with mutually incompatible frameworks built atop Qt, none of which was compellingly better than the others.
It's a shame that the Qt on EKA2 project was killed. The EKA2 kernel was a much better fit for mobile devices than Linux (it still amazes me after all of Google's investment how few of its features Android has), and Qt would have given them the base of a modern development environment that would have competed well with other platforms.
They had a rough go with Qt/Maemo, then they changed course, to a dead end street.
Was Maemo ever Qt? I thought they changed the name when they switched it from GTK to Qt. And there you see the real problem with Nokia: a complete lack of direction. They had, in EKA2, a beautifully designed kernel for mobile applications, tied to a userland and userspace APIs that were designed when 1MB of RAM was an insane quantity reserved for the most expensive of phones. So, the first thing they did was try to shoehorn Linux into a phone. Then, having replaced the one good bit of their stack with Linux, they had a load of competing projects to provide a replacement UI, leading to a plethora of short-lived APIs, just as everyone else was realising that third-party developers are the key to a successful platform.
Our business in life is not to succeed but to continue to fail in high spirits. -- Robert Louis Stevenson