Testing the code against the jQuery Migrate Plugin (current version: 3.4.1) reveals a few function calls that are deprecated in jQuery 3.x
This is mostly about event shortcuts such as .click(fn) (deprecated) instead of .on('click',fn) (recommended)
I should be able to quickly fix this tomorrow