added onload for required js
Merge pull request #15 from josiah85/v1.4.9

added onload for required js