Only send an ajax request if a relevant item exists on the page