Converting gLong to TypeScript, which fixes the silly type-hackery.

There should be a way to import external js with more robust type-mocking,
but this made me feel good.
Updating gLong path for dev mode.