I am using PlaceholderAPI's JavaScript expansion to access the Residence plugin API and retrieve a player's main residence. The JavaScript code itself runs correctly, and there are no syntax errors.