run script after the document loads completelly
Merge pull request #3 from davidhq/master

run script after the document loads completelly