           when typeof value is 'string' or typeof value is 'number' then value
           when typeof value is 'object' then JSON.stringify value
 
+      # Class method: returns the cookie if it exists
       @find = (name) ->
         return cookie for cookie in document.cookie.split ';' when !!~cookie.indexOf name
 
-      # Public methods
+      # Parses the cookie's data and return an object if the cookie's value is
+      # an object
       unserializedValue: =>
         cookieStr = Cookie.find @name
 

          .find '.message'
          .text message
        success: (data, textStatus, jqXHR) ->
          state =
            didContact:true
            dateContacted: new Date()

              obj[node.name] = node.value
              obj

            # Iterate over the array returned by jQuery("form").serializeArray()
            # and save the values in an object where the key is the input name
            # and the value is the value
            normalize normalizedValues, object for object in serializedArray

            @send url, serializedString, normalizedValues, @submitButton, @flashDiv
    # Apply mark up to the fields to alert the user if there is an error
    @markup = (field, success)->
      parentDiv = field.parentElement
      $ parentDiv
