Immediately after switching the page, it will work with CSR.
Please reload your browser to see how it works.
FWIW emacs lisp (in)famously still defaults to dynamic scoping -- there's been a proposal to change that default earlier this month but interestingly, there's still pushback. See e.g. https://lists.gnu.org/archive/html/emacs-devel/2024-11/msg00...
[1] https://physics.stackexchange.com/questions/731971/equivalen...