The JS is really old.
It uses document.getElementById(...) which is legacy supported in most browser engines for a long time to come, but this is most likely the problem on a new browser like Chrome/Edge/Opera. I would replace with document.querySelector(...)
Try on Firefox first before editing the JS, as they have their own browser engine that has nothing to do with Chromium project. That will rule that out before updating anything.
It uses document.getElementById(...) which is legacy supported in most browser engines for a long time to come, but this is most likely the problem on a new browser like Chrome/Edge/Opera. I would replace with document.querySelector(...)
Try on Firefox first before editing the JS, as they have their own browser engine that has nothing to do with Chromium project. That will rule that out before updating anything.