Fixed "name" attribute collision

Form submitting fails when there is an element with `name="name"` in the form:
```html
<form action="#" name="form">
  <input type="text" name="name">
  <input type="submit" value="Submit">
</form>
```
Instead of passing the `name` attribute of the `form` to the `get` function, the whole element string is passed (e.g. `<input type="text" name="name">` instead of `form`).