Set the button type to button
On a couple of browser the default type of a button is 'submit', not
setting the type explicitly in the script will cause the navigation
buttons to submit the form it's in.
Merge pull request #3 from bartj3/master

Set the button type to button