This change was made because the advice was "out of date" and Google handles JavaScript fine.
Before we get into too much discussion, let’s look at a Hyperscript example that communicates the spirit of the thing: In English, it says: “When the div element is loaded, send an async request to ...