[NB: this is in the process of being improved and will not remain the same for much longer]
a drop in vanilla JS lib to declaratively auto-ajaxify forms
the elegance of formalhaut is that it works by extracting your form's options from the
<form> element's attributes, like
enctype= or even
this lib also tests for the new fetch API before using XMLHttpRequest for the sake of being future-proof, as well as opening up further potential for the lib with respect to resumable form submissions via serviceworker etc.