I encountered the same bug as the last guy after colonizing asteroids that were previously a planet but were blown up by a malfunctioning AI
Uncaught ReferenceError: emp is not defined
at Object.turn (script.js:3508)
at empireTurn (script.js:3952)
at Array.forEach (<anonymous>)
at turn (script.js:3936)
at script.js:4356
at button (script.js:3622)
at script.js:4356
at Array.forEach (<anonymous>)
at tick (script.js:4227)
at nextFrame (script.js:4750)