Запретить грузить один из core js скриптов на некот страницах
Уважаемые специалисты, есть вопрос
В template.tpl.php имеем в (моя_тема)_preprocess_page(&$variables):
$js = drupal_add_js(NULL, NULL, 'header');
if (arg(0) == 'admin' || arg(2) == 'edit' || arg(1) == 'add') {
unset($js['core']['misc/tabledrag.js']);
$variables['scripts'] = drupal_get_js('header', $js);
} else { unset($variables['scripts']); }
...И все равно грузит tabledrag.js в node/add и node/номер_ноды/edit.
Что я делаю не так?