Index: src/wp-content/themes/twentythirteen/js/theme-customizer.js
===================================================================
--- src/wp-content/themes/twentythirteen/js/theme-customizer.js	(revision 29725)
+++ src/wp-content/themes/twentythirteen/js/theme-customizer.js	(working copy)
@@ -21,8 +21,9 @@
 	wp.customize( 'header_textcolor', function( value ) {
 		value.bind( function( to ) {
 			if ( 'blank' == to ) {
-				if ( 'remove-header' == _wpCustomizeSettings.values.header_image )
+				if ( 'remove-header' == wp.customize.instance( 'header_image' ).get() ) {
 					$( '.home-link' ).css( 'min-height', '0' );
+				}
 				$( '.site-title, .site-description' ).css( {
 					'clip': 'rect(1px, 1px, 1px, 1px)',
 					'position': 'absolute'
Index: src/wp-content/themes/twentytwelve/js/theme-customizer.js
===================================================================
--- src/wp-content/themes/twentytwelve/js/theme-customizer.js	(revision 29725)
+++ src/wp-content/themes/twentytwelve/js/theme-customizer.js	(working copy)
@@ -53,12 +53,13 @@
 		value.bind( function( to ) {
 			var body = $( 'body' );
 
-			if ( '' != to )
+			if ( '' !== to ) {
 				body.removeClass( 'custom-background-empty custom-background-white' );
-			else if ( 'rgb(255, 255, 255)' == body.css( 'background-color' ) )
+			} else if ( 'rgb(255, 255, 255)' === body.css( 'background-color' ) ) {
 				body.addClass( 'custom-background-white' );
-			else if ( 'rgb(230, 230, 230)' == body.css( 'background-color' ) && '' == _wpCustomizeSettings.values.background_color )
+			} else if ( 'rgb(230, 230, 230)' === body.css( 'background-color' ) && '' === wp.customize.instance( 'background_color' ).get() ) {
 				body.addClass( 'custom-background-empty' );
+			}
 		} );
 	} );
 } )( jQuery );
