I finally fixed it! Now it works in web.
Had a lot of problems with the web build, nearly missed the deadline for the jam, but after some head scratching and voodoo rituals I manadged to get it working on itch. So now there is no need to download any sketchy files)) Pls give it a try.
https://ldjam.com/events/ludum-dare/58/crown-and-taxes
Thanks Ludum Dare for existing and everyone for participating.