I am working on an application, which now requires me to compare two sets of data...
-identify an array of items that no longer appear in the new array -identify an array of items that are new to the data stream
the fiddle is here - http://jsfiddle.net/CXqM2/129/
here is a sample of the data
var data = [
    {
        "stream": [
            {
                "userId": "isdskfk324023",
                "userName": "Melanie",
                "userAge":31,
                "userState": "London",
                "userCountry": "UK",
                "userNotificationDate": "24/03/2014 11:00:23",
                "userNotificationId": 2,
                "userNotification": "Just came online",
                "userImage": "http://www.gossip-gravy.com/wp-content/uploads/2013/08/GwenStefaniNoDoubt4.jpg",
                "userLink": "#"
            }
            {
                "userId": "pgflgf34534",
                "userName": "Megan",
                "userAge":28,
                "userState": "London",
                "userCountry": "UK",
                "userNotificationDate": "24/03/2014 13:01:23",
                "userNotificationId": 2,
                "userNotification": "Just came online",
                "userImage": "http://www.guysgab.com/wp-content/uploads/2013/07/Brittany-Mason-5.jpg",
                "userLink": "#"
            },
            {
                "userId": "gm3242323423",
                "userName": "Gemma",
                "userAge":32,
                "userState": "London",
                "userCountry": "UK",
                "userNotificationDate": "24/03/2014 12:30:23",
                "userNotificationId": 0,
                "userNotification": "Just messaged you",
                "userImage": "http://www.solveisraelsproblems.com/wp-content/uploads/2012/05/Esti-Ginzburg-18.jpg",
                "userLink": "#"
            }
        ]
    },
    {
        "stream": [
            {
                "userId": "pgflgf34534",
                "userName": "Megan",
                "userAge":28,
                "userState": "London",
                "userCountry": "UK",
                "userNotificationDate": "24/03/2014 13:01:23",
                "userNotificationId": 0,
                "userNotification": "Just messaged you",
                "userImage": "http://www.guysgab.com/wp-content/uploads/2013/07/Brittany-Mason-5.jpg",
                "userLink": "#"
            },
            {
                "userId": "xcvxcvmxcdsf",
                "userName": "Penolope",
                "userAge":32,
                "userState": "Texas",
                "userCountry": "USA",
                "userNotificationDate": "24/03/2014 12:00:23",
                "userNotificationId": 2,
                "userNotification": "Just came online",
                "userImage": "http://zuqka.nation.co.ke/wp-content/uploads/2013/08/Lady-Gaga.jpg",
                "userLink": "#"
            }
        ]
    }
]
