How to hook "/system/ajax" with javascript in Drupal 7
You can use hook_menu_alter and define your own custom callback function like below.

function demo_pane_menu_alter(&amp;$items) {
  $items['system/ajax']['page callback'] = 'demo_pane_taxonomy_autocomplete';
}