                     name: if primary_uuid then machines.get(primary_uuid).get('name') else null
                     status: if primary_uuid then DataUtils.get_machine_reachability(primary_uuid) else null
                 secondaries: _.map(secondary_uuids, (machine_uuids, datacenter_uuid) ->
-                    j = 0
-                    json =
-                        datacenter_uuid: datacenter_uuid
-                        datacenter_name: datacenters.get(datacenter_uuid).get('name')
-                        machines: _.map(machine_uuids, (machine_uuid) ->
-                            json =
-                                uuid: machine_uuid
-                                name: machines.get(machine_uuid).get('name')
-                                status: DataUtils.get_machine_reachability(machine_uuid)
-                            return json
-                            )
-                    return json
+                    datacenter_uuid: datacenter_uuid
+                    datacenter_name: datacenters.get(datacenter_uuid).get('name')
+                    machines: _.map(machine_uuids, (machine_uuid) ->
+                        uuid: machine_uuid
+                        name: machines.get(machine_uuid).get('name')
+                        status: DataUtils.get_machine_reachability(machine_uuid)
+                        )
                     )
         return ret
 

                submitHandler: =>
                    # TODO: What happens when multiple machines are the same? BAAAAD user
                    # TODO: What happens if they just hit 'commit'? How do we remove pinnings? Checkbox?
                    # TODO: Let them know if pinnings are out of sync with shards
                    # TODO: Reporting/assigning pinnings when the shard changed
                    # TODO: Informing them that pinnings and shards don't match up
                    pinned_machines = _.filter @.$('form').serializeArray(), (obj) -> obj.name is 'pinned_machine_uuid'
                    output = {}
                    output[@secondary.shard] = _.map pinned_machines, (m)->m.value

                        #     @render(response.responseText)

            # Render the modal
            super validator_options, @secondary

            # Render our fun inner lady bits
            @render_inner()
