Thanks for your tests and feedback.
The JS viewer simply needed an additional [font=courier new]touch-action: none[/font] style property to work correctly under Android. I fixed it in the online version
here. By the way, I also checked the JS viewer works correctly under iOS.