Add __gtg endpoint; fix a few jshinteries