Follow up from #1689: jquery can cause us problems and is an extra layer sitting in between our code and the browser.
As You Don't Need jQuery! puts it: Free yourself from the chains of jQuery by embracing and understanding the modern Web API and discovering various directed libraries to help you fill in the gaps. Lots of good advice and examples for moving away from jquery there.
duplicate of #1360
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1712