If no content is found, cancel ajax load. This fixes some issues when trying to ajax load images.