either make `window.setupPlayerStat` write the player level into the `PLAYER` variable once determined or make `getPlayerLevel` a function. Copy&Paste is evil.