updated script tag to async