Index: wp-includes/functions.wp-scripts.php
===================================================================
--- wp-includes/functions.wp-scripts.php	(revision 18510)
+++ wp-includes/functions.wp-scripts.php	(working copy)
@@ -107,6 +107,10 @@
 	global $wp_scripts;
 	if ( !is_a($wp_scripts, 'WP_Scripts') )
 		$wp_scripts = new WP_Scripts();
+		
+	if( preg_match( '/^\/\//', $src ) ) {
+		$src = is_ssl() ? 'https:'.$src : 'http:'.$src;
+	}
 
 	if ( $src ) {
 		$_handle = explode('?', $handle);
@@ -114,6 +118,7 @@
 		if ( $in_footer )
 			$wp_scripts->add_data( $_handle[0], 'group', 1 );
 	}
+
 	$wp_scripts->enqueue( $handle );
 }
 
