When I need to add Java Script to a single Drupal page, I paste the following in my node.tpl.php file:
<?php drupal_add_js(drupal_get_path('theme', 'INSERT_NAME_OF_THEME') . '/INSERT_NAME_OF_JS_FILE.js'); ?>
It works fine, but I have been told it is not best practice. What would be best practice?