Using window.onload
Using async in the script tag