@adele Hey Adële, I can’t remember the specifics right now but I was having a conversation with someone working on just that (although I feel JavaScript is essential if we want to be able to use end-to-end encrypted communication on the web with regular browsers, which is a cornerstone of the Small Web stuff I’m working on.*)
I’ll boost your post so hopefully they can find you :)
* e.g., see https://ar.al/2023/02/20/end-to-end-encrypted-kitten-chat/