typo
document to window onload