onload fixes #105
Merge pull request #114 from don/issue105-onload

onload fixes #105