It doesn't crash for me, but a reason to explain that could be because the bot will get stuck in an infinite loop, which will crash anything be it browser, .exe, .app, etc. I don't really think this can be fixed, if it is a problem. If you know JavaScript, its kinda like an infinite for loop, which will crash whatever it is being run on.