Use data attribute to identify search results in click eventhandler