before window.onload, appendChild