diff --git a/templates/radio/player.html b/templates/radio/player.html
index a7b7de5..64c2926 100644
--- a/templates/radio/player.html
+++ b/templates/radio/player.html
@@ -331,7 +331,7 @@
const INITIAL_FEATURED = {{ featured_stations|safe }};
const IS_AUTHENTICATED = {{ user.is_authenticated|yesno:"true,false" }};
const INITIAL_PODCAST_FEEDS = {{ initial_podcast_feeds|safe }};
- const USER_ID = {{ user.id|default:"null" }};
+ window.USER_ID = {{ user.id|default:"null" }};
let USER_FOCUS_STATION = {{ focus_station_json|safe }};