I found the bug! It happens when playing levels 1–6 without restarting the game. The problem was with WebGL resources not being released properly, which caused the crash.
And thanks for clarifying the 1000-number challenge! Now I understand your suggestion about limiting buildings. I originally designed Numflow as a puzzle game, but thought expanding factory production would fit well too. Now I think adding restrictions to make the puzzles more challenging is a better direction.
Thanks again! =)