I did quite a major update of this webgl game (a custom engine) to add leaderboards support. It uses the foundationdb record layer, and the time window leaderboard indexes from that.
The leaderboard support was initially developed for the other game https://luduxia.com/showdown/ and the backend is common across both.
This was ultimately an experiment in getting to know foundationdb, which proved quite successful.