old_contents: /*
   * jquery.requestAnimationFrame
   * https://github.com/gnarf37/jquery-requestAnimationFrame
   * Requires jQuery 1.8+
   *
   * Copyright (c) 2012 Corey Frang
   * Licensed under the MIT license.
   */
  
  (function( $ ) {
  
  // requestAnimationFrame polyfill adapted from Erik Möller
  // fixes from Paul Irish and Tino Zijdel
  // http://paulirish.com/2011/requestanimationframe-for-smart-animating/
  // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
  
  
  var animating,
  	lastTime = 0,
  	vendors = ['webkit', 'moz'],
  	requestAnimationFrame = window.requestAnimationFrame,
  	cancelAnimationFrame = window.cancelAnimationFrame;
  
  for(; lastTime < vendors.length && !requestAnimationFrame; lastTime++) {
  	requestAnimationFrame = window[ vendors[lastTime] + "RequestAnimationFrame" ];
  	cancelAnimationFrame = cancelAnimationFrame ||
  		window[ vendors[lastTime] + "CancelAnimationFrame" ] || 
  		window[ vendors[lastTime] + "CancelRequestAnimationFrame" ];
  }
  
  function raf() {
  	if ( animating ) {
  		requestAnimationFrame( raf );
  		jQuery.fx.tick();
  	}
  }
  
  if ( requestAnimationFrame ) {
  	// use rAF
  	window.requestAnimationFrame = requestAnimationFrame;
  	window.cancelAnimationFrame = cancelAnimationFrame;
  	jQuery.fx.timer = function( timer ) {
  		if ( timer() && jQuery.timers.push( timer ) && !animating ) {
  			animating = true;
  			raf();
  		}
  	};
  
  	jQuery.fx.stop = function() {
  		animating = false;
  	};
  } else {
  	// polyfill
  	window.requestAnimationFrame = function( callback, element ) {
  		var currTime = new Date().getTime(),
  			timeToCall = Math.max( 0, 16 - ( currTime - lastTime ) ),
  			id = window.setTimeout( function() {
  				callback( currTime + timeToCall );
  			}, timeToCall );
  		lastTime = currTime + timeToCall;
  		return id;
  	};
  
  	window.cancelAnimationFrame = function(id) {
  		clearTimeout(id);
  	};
      
  }
  
  }( jQuery ));
  
new_contents: /*
   * jquery.requestAnimationFrame
   * https://github.com/gnarf37/jquery-requestAnimationFrame
   * Requires jQuery 1.8+
   *
   * Copyright (c) 2012 Corey Frang
   * Licensed under the MIT license.
   */
  
  (function( jQuery ) {
  
  // requestAnimationFrame polyfill adapted from Erik Möller
  // fixes from Paul Irish and Tino Zijdel
  // http://paulirish.com/2011/requestanimationframe-for-smart-animating/
  // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
  
  
  var animating,
  	lastTime = 0,
  	vendors = ['webkit', 'moz'],
  	requestAnimationFrame = window.requestAnimationFrame,
  	cancelAnimationFrame = window.cancelAnimationFrame;
  
  for(; lastTime < vendors.length && !requestAnimationFrame; lastTime++) {
  	requestAnimationFrame = window[ vendors[lastTime] + "RequestAnimationFrame" ];
  	cancelAnimationFrame = cancelAnimationFrame ||
  		window[ vendors[lastTime] + "CancelAnimationFrame" ] || 
  		window[ vendors[lastTime] + "CancelRequestAnimationFrame" ];
  }
  
  function raf() {
  	if ( animating ) {
  		requestAnimationFrame( raf );
  		jQuery.fx.tick();
  	}
  }
  
  if ( requestAnimationFrame ) {
  	// use rAF
  	window.requestAnimationFrame = requestAnimationFrame;
  	window.cancelAnimationFrame = cancelAnimationFrame;
  	jQuery.fx.timer = function( timer ) {
  		if ( timer() && jQuery.timers.push( timer ) && !animating ) {
  			animating = true;
  			raf();
  		}
  	};
  
  	jQuery.fx.stop = function() {
  		animating = false;
  	};
  } else {
  	// polyfill
  	window.requestAnimationFrame = function( callback, element ) {
  		var currTime = new Date().getTime(),
  			timeToCall = Math.max( 0, 16 - ( currTime - lastTime ) ),
  			id = window.setTimeout( function() {
  				callback( currTime + timeToCall );
  			}, timeToCall );
  		lastTime = currTime + timeToCall;
  		return id;
  	};
  
  	window.cancelAnimationFrame = function(id) {
  		clearTimeout(id);
  	};
      
  }
  
  }( jQuery ));
  
subject: Fix name of locally scoped jQuery variable