enable async for main js