Since I'm introducing Svelte framework and targeting modern browsers, I
think it does not make sense to check for browser features. I can always
choose to use polyfills for backwards compatibility.
I will make sure the form is still also rendered via HTML and works for
non-SPA use.
Server now downloads the HTML file via new endpoint but the parsing logic now happens in
the browser. The reason for this is to have a way same code for both
environments.
If the JavaScript is disabled, it's still possible to call the previous
endpoint and download the file from the server.