Yield demo: High Performance trick by Joseph Smarr, Plaxo →
Smarr recommends you to yield to the browser by doing a setTimeout(someFunc(), 0) so that the browser gets sometime to go update the UI and come back to executing the rest of the Javascript.