I agree with you, but I was learning javascript and wanted to write something with it that could solve my form related problem. I tried using some libraries but some had bad notations and some did not work as expected. I wrote it on my own and thought to share it with people who have gone far beyond in js
and get their feedback. That is why I shared it.