If you want to add custom.js script that is located in the js/ folder of your theme, you'll need to enqueue it. In functions.php add
<?php
add_action( 'after_setup_theme', 'yourtheme_theme_setup' );
if ( ! function_exists( 'yourtheme_theme_setup' ) ) {
function yourtheme_theme_setup()...