updated domcontentloaded