Dont submit an HTML form when a button is clicked.

Relates to issue #63

(cherry picked from commit 7e73ccf)