Renamed the find function to 'query'. Having a function named find has weird repercussions and conflicts with $.find(). By renaming the function to query, all these problems go away.