I was curious what sort of Javasript wizardy was used to accomplish this. It appears to be lots of deleted code. Still, good for the contributor! Here is the PR https://github.com/plausible/analytics/pull/68/files
Hard to trace because we have a code change and file renames in the same merge. I don't like that. Renames and white-space changes should be their own commits.