How to submit form using VanillaJS