Drupal alter some javascript of contrib module?
I believe this has already been answered here: How to override jQuery from contrib module

To override the JavaScript file added to a page from a module, you need to implement hook_js_alter()....