See
https://github.com/turborium/PocketGalaxyJs