Unfortunately

Is it possible to override only a part of another plugin's / theme's js (asset) file?
Unfortunately no, you can dequeue the file as the other questions answer suggests and enqueue your own version, otherwise you'd need to load it and th...