This change was made because the advice was "out of date" and Google handles JavaScript fine.
Learn how the DOM structures your page, how JavaScript can change it during rendering, and how to verify what Google actually sees.