No need to delay at least in WebKit with setTimeout intended only to essentially postpone action until after the current JavaScript stack has returned.