This also includes a massive reformat of the htmx code, since the indenting was changed. I used standardJS for this.