WordPress script with jquery error

Solution:

You should enqueue your jquery in your functions file like this:

// Load jQuery
    if ( !is_admin() ) {
       wp_deregister_script('jquery');
       wp_register_script('jquery', ("http://code.jquery.com/jquery-2.1.3.min.js"), false);
       wp_enqueue_script('jquery');    
    }