js async loading reverted