add delay to properly track loadEventEnd