Override alter.inc in child theme Bootstrap.js is breaking a menu plugin I'm using. It's called with this

  $bootstrap = $theme_path . '/js/bootstrap.js';
  $js[$bootstrap] = drupal_js_defaults($bootstrap);
  $js[$bootstrap]['group'] = JS_THEME;
  $js[$bootstrap]['scope'] = 'footer';


in themes/bootstrap/theme/alter.inc. I tried putting a modified alter.inc inside themes/child_theme/theme/ but it doesn't work. Is there a function I can use to override it?
If you really want to remove bootstrap.js you can do it this way:

function YOURTHEME_js_alter(&amp;$js) {  
  $bootstrap = drupal_get_path('theme', 'bootstrap') . '/js/bootstrap.js';
  unset($js[$bootstrap]);
}


It might fix your menu plugin but it'll remove every drupal specific bootstrap js code (tabs, popovers, tooltips and anchors stuff).