Using jQuery selector for pagination element selection