Javascript project to translate Global passing siteswaps to Local siteswaps