Hi,
You can add your custom javascipt files under theme's js folder and then call the addScript method of the global $gantry object:
global $gantry;
$gantry->addScript( 'customscript.js' );
You can add the code above in index.php of the theme or in a widget in the page you want to use your js.
Hope this helps