make sure the AUTH_TOKEN is available before the rest of the JS