Sometimes customization of a theme can’t be achieved only by editing the php files. In few cases you will need to make changes to the scripts too. In order achieve this you will need to deregister a script from the parent theme and use another in your child theme. Here is the example code that you need to paste in function.php from child theme:
<?php function register_custom_child_script(){ wp_deregister_script( 'shaver.js' ); wp_enqueue_script( 'shaver', get_stylesheet_directory_uri() . '/scripts/shaver.js', false,true ); } add_action('wp_enqueue_scripts', 'register_custom_child_script'); ?>
After this you will be able to use shaver.js script from your child theme folder.