It isn't random.
Firstly I think it is mostly directed at the abuse of JS that we see.
Secondly while there has always been good reasons to avoid running code in the browser unless there is a good reason.
This year added one more with the CPU level bugs that could be exploited through client side JS.