https://notesontech.com/preventing-double-form-submission/
Preventing double form submission using JavaScript