Homepage js is conflicting with js of plugin of other page

Put it in an if clause to only load on front page:

if (is_front_page()){ // you could also try is_home() 
//or is_page($the_id_of_home_page = 555) If you know the id of the home page

        wp_register_script('java1', get_template_directory_uri() . '/js/cr-scroll.js', array( 'jquery' ));
wp_enqueue_script( 'java1' );
        }

or remove it on a specific page:

function remove_scroll_js(){
    if (is_page($the_id_of_that_page_lets_say = 1001)){
    wp_dequeue_script( 'java1' );
    wp_deregister_script( 'java1' );
}
}

add_action( 'wp_enqueue_scripts', 'remove_scroll_js' );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)