async for script load in all layouts