[fix] can't use window.onload

for testing head performance