bug if form input "name" is same as form attribute

If you have a form input whose "name" attribute is the same as one of the properties being created in the defaults object then the input object is assigned instead of the form attribute.

Example:

<form action="/foo/bar">
   <input name="action">
</form>

defaults.url = [object%20HTMLInputElement]