prevent double submit in JS

unfortunately, it seems that #33 doesn't work in all cases, as we are still seeing duplicate submissions on the public form.

Going on suggestions from @tombye and @KushalP , this PR disables the submit button upon button click rather than form submit.