Fix Firefox YouTube API script error