Fix name attribute of button elements so jquery '.submit()' doesn't break

According to "Additional notes" in:

http://api.jquery.com/submit/

Not fixing buttons created with 'input' tags.
Merge pull request #595 from solstag/master

Fix name attribute of button elements so jquery '.submit()' doesn't brea...