Somewhere around 5th or 6th prestige the game breaks and auto-wins you, and at 1023 I have a starting height of infinity, preventing me from continuous prestige.
Your code has scaling issues, or something funky happens at random that causes auto wins, on Firefox and clicked the prevent additional popups. Also using a pop up in that nature isn't as good as if you made it happen within the designated window, seems lazy.
Although the baseline concept has been done before, with expansion and visual overhaul could be a good idle game. Currently good as a quick 30 minute.