Update script.js

Capped the throws at 10000000