Document why setTimeout(..., 0) was used