         # So we don't blow avay the popup
         render_status: =>
             data = @compute_data()
-            data_in_json = JSON.stringify data
-            if @data isnt data_in_json
-                @data = data_in_json
+            if _.isEqual(@data, data) is false
+                @data = data
                 @.$('.status').html @status_template data
                 if data.status_is_ok is true
                     @.$('.status').addClass 'no-problems-detected'

        popup_template: Handlebars.compile $('#cluster_status-availability-popup-template').html()

        events:
            'mousedown .show_details': 'show_details'
            'mousedown .close': 'hide_details'

        initialize: =>
            @data = ''
            directory.on 'all', @render_status
            namespaces.on 'all', @render_status

        convert_activity: (role) ->
            switch role
                when 'role_secondary' then return 'secondary_up_to_date'

            num_masters_down = 0
            namespaces_down = {}

            # Look for masters in blueprint
            directory_by_namespaces = DataUtils.get_directory_activities_by_namespaces()
            for namespace in namespaces.models
                namespace_id = namespace.get('id')
