I looked how to pass PHP variables to JS, and while those methods work, they are for when I need to pass a single variable. But in my code, I generate various variables with