remove the async for javascript