use addEventListener instead of window.onload to prevent conflict on host website.
Merge pull request #12 from irvin/gh-pages