UPDATE: turns out your plugin doesn’t work with the latest jQuery version
After deregistering the old jQuery version that comes with WP and registering the latest one from a CDN, the error appears.
As soon as I reverted to the old jQuery version, everything works again.
The old jQuery version has some security vulnerabilites, so it would be nice to see this fixed sometime in the future ;)