The problem is
swing: function (x, t, b, c, d) {
return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
}
jQuery in this function could not be equal to the jQuery, where jQuery.extend( jQuery.easing, has been applied.
- replace
jQuery with $
wrap code with
(function($, undefined) {
...
}) (jQuery);