add jQuery.each() and inner function isArrayLike()