Hi,
to add an script file to the page simply copy the .js file to /js directory in your theme and then open up index.php file and add this line to the head section between the php template tags:$gantry->addScript("customscript.js");
and that's it. Now that js file is added to the page.