Index: src/wp-includes/js/wp-auth-check.js
===================================================================
--- src/wp-includes/js/wp-auth-check.js	(revision 26164)
+++ src/wp-includes/js/wp-auth-check.js	(working copy)
@@ -1,6 +1,7 @@
+/* global adminpage:false */
 // Interim login dialog
 (function($){
-	var wrap, check, next;
+	var wrap, next;
 
 	function show() {
 		var parent = $('#wp-auth-check'), form = $('#wp-auth-check-form'), noframe = wrap.find('.wp-auth-fallback-expired'), frame, loaded = false;
@@ -12,7 +13,7 @@
 			});
 
 			frame = $('<iframe id="wp-auth-check-frame" frameborder="0">').attr( 'title', noframe.text() );
-			frame.load( function(e) {
+			frame.load( function() {
 				var height, body;
 
 				loaded = true;
@@ -20,7 +21,7 @@
 				try {
 					body = $(this).contents().find('body');
 					height = body.height();
-				} catch(e) {
+				} catch(exc) {
 					wrap.addClass('fallback');
 					parent.css( 'max-height', '' );
 					form.remove();
@@ -67,8 +68,8 @@
 		$(window).off( 'beforeunload.wp-auth-check' );
 
 		// When on the Edit Post screen, speed up heartbeat after the user logs in to quickly refresh nonces
-		if ( typeof adminpage != 'undefined' && ( adminpage == 'post-php' || adminpage == 'post-new-php' )
-			 && typeof wp != 'undefined' && wp.heartbeat ) {
+		if ( typeof adminpage != 'undefined' && ( adminpage == 'post-php' || adminpage == 'post-new-php' ) &&
+			typeof wp != 'undefined' && wp.heartbeat ) {
 
 			wp.heartbeat.interval( 'fast', 1 );
 		}
@@ -98,7 +99,7 @@
 	}).ready( function() {
 		schedule();
 		wrap = $('#wp-auth-check-wrap');
-		wrap.find('.wp-auth-check-close').on( 'click', function(e) {
+		wrap.find('.wp-auth-check-close').on( 'click', function() {
 			hide();
 		});
 	});
