Providing a Query to the $.each() Function