JQuery Login Dropdown not functioning in theme

its working now:-

    jQuery(function() {
    var $button = jQuery('#loginButton');
    var $box = jQuery('#site-crhead');
    var $form = jQuery('#loginForm');

    $button.live('click',function(login) {
      console.log($box);
        $box.toggle();
        $button.toggleClass('active');

    });
    $form.live('click',function() { 
        return false;
    });
    jQuery(this).live('click',function(login) {
        if(!(jQuery(login.target).parent('#loginButton').length > 0)) {
            $button.removeClass('active');
            $box.hide();
        }
    });
});

Just update your code according to you, even your mouseup function was not working, according to your jquery version, us live function before event.