Smush conflicts with my QR code plugin

When I have the Smush CDN enabled, my QR code plugin won’t generate the image. I can see there is a JavaScript issue on the console. Can you help me?