function _extends ( self, obj ) { var extend = $.extend; if ( Object.setPrototypeOf !== undefined ) { extend = Object.setPrototypeOf; } extend( self, obj ); }