Use hash as unique id
Save _id in 'data-notification-id' attribute
Break $.each loop when id is found
Fix test