pass api_token in requirejs