 
 buildNewSetAttributeAction = (id, el, sameForAllAttributeNames) ->
   attributeName = el.name
+  return unless attributeName
   action =
     action: "setAttribute"
     variantId: id


buildSetAttributeAction = (diffed_value, variant, index, sameForAllAttributeNames) ->
  attribute = variant.attributes[index]
  if attribute
    action =
      action: 'setAttribute'

            actions.push setAction if setAction
        else if REGEX_UNDERSCORE_NUMBER.test key
          if _.isArray value
            # ignore pure array moves! TODO: remove when moving to new version of jsondiffpath (issue #9)
            if _.size(value) is 3 and value[2] is 3
              return
            v = helper.getDeltaValue(value)
            unless v
              v = value[0]
