fixed async JS