Load jquery action on link menu click/node load
It depends on what page you need to add the script, adding jquery_ui is fairly straightforward if you know which component it is. 

You should add the following line in the template.php (changing the ui.autocomplete to what you need)

drupal_add_library('system', 'ui.autocomplete');


The following page is extremely useful https://drupal.org/node/171213

Update as described in comments

function MY_THEME_preprocess_html(&amp;$variables) {
    if(arg(0)=='node' &amp;&amp; arg(1) === 3)) {
        $node = node_load(arg(1));
        drupal_add_js('system', 'ui.autocpmplete);}
       }
    }