Not using jQuery's each has unwanted side effects up to crashing the browser.