Changed form onsubmit to stop page reload

Undid previous commit where the solution was to change the submit button in an
a-tag, that is not necessary anymore