Cross-browser-compatible setZeroTimeout

See https://mathiasbynens.be/notes/settimeout-onload#comments for more details. Fork gist #579895 if you see possible improvements. Also, make sure to check the original setZeroTimeout on http://dbaron.org/log/20100309-faster-timeouts.