change onload function
Merge pull request #348 from katiewood/master

change onload function