I have found that some JavaScript features are working on desktop Anki and on the standard study screen, but not on the new study screen. As a future development, this can create issues for users when more complicated JavaScript in the template works in the desktop version but not on the Android version.
I’ve created separate thread for that: New study screen is blocking some of the Javascript features