The problem comes from the recursive loop you made: function start(i, call) { if (i < 10000) { call(start); } ...
stackoverflow.com