How do I add a custom script on a specific page?
You could do this:

&lt;?php
$node = menu_get_object();
if ($node &amp;&amp; $node-&gt;nid == DONATE_NODE_ID):
?&gt;
&lt;script&gt;&lt;/script&gt;
&lt;?php endif; ?&gt;


But a better way would be to:


Wrap your script in Drupal.behaviors:

(function ($) {
  Drupal.behaviors.NameOfYourTheme = {
    attach: function (context, settings) {
      // Your JS code goes here.
    }
  }
})(jQuery);

Call drupal_add_js() in hook_preprocess_page(). This code would go to template.php:

function YOUR_THEME_preprocess_page(&amp;$variables) {
  $node = menu_get_object();
  if ($node &amp;&amp; $node-&gt;nid == DONATE_NODE_ID) {
    drupal_add_js(drupal_get_path('theme', 'YOUR_THEME') . '/path/to/js.js');
  }
}