<commit_before>$( document ).ready(function() {

	/* Sidebar height set */
	$('.sidebar').css('min-height',$(document).height());

	/* Secondary contact links */
	var scontacts = $('#contact-list-secondary');
	var contact_list = $('#contact-list');
	
	scontacts.hide();
	
	contact_list.mouseenter(function(){ scontacts.fadeIn(); });
	
	contact_list.mouseleave(function(){ scontacts.fadeOut(); });

});<commit_msg>js code taken into a closure. overall file format.<commit_after>(function($) {
	$(document).ready(function() {

		/* Sidebar height set */
		$('.sidebar').css('min-height',$(document).height());

		/* Secondary contact links */
		var $scontacts = $('#contact-list-secondary');
		var $contactList = $('#contact-list');

		$scontacts.hide();
		$contactList.mouseenter(function(){ $scontacts.fadeIn(); });
		$contactList.mouseleave(function(){ $scontacts.fadeOut(); });
	});
})(jQuery);
{'fraction_non_alphanumeric': 0.21986607142857142, 'fraction_numerical': 0.0, 'mean_word_length': 5.229166666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2921069', 'n_tokens_mistral': 296, 'n_tokens_neox': 269, 'n_words': 50}