$('#nav-menu').each(function() {
	if($(this).length) {
		$(".collapsibleListOpen, .collapsibleListClosed").toggleClass("collapsibleListOpen collapsibleListClosed");
		CollapsibleLists.applyTo(this);
	}

	$.ajax({
		url: "https://sendgrid.com/user/checkLogin",
		method: "GET",
		success: function (data) {
			if(data.logged_in === true){
				$("body").removeClass("logged-out");
				$("body").addClass("logged-in");
			}
		},
		dataType: "jsonp"
	});

	$('#nav-menu').click(function (e) {
		if(e.target == this){
			$(this).toggleClass("shown");
		}
	});
});
@@ -1,24 +1,6 @@
 $(
-'#nav-menu').each(
 func
@@ -14,20 +14,27 @@
 %7B%0A%09if($(
-this
+'#nav-menu'
 ).length
@@ -174,20 +174,51 @@
 applyTo(
-this
+document.getElementById('nav-menu')
 );%0A%09%7D%0A%0A%09

Change a file back that I didn't mean to commit