fix #41: Missing $(document).ready() in the documentation and in the example project.
Merge pull request #6 from mozillazg/patch-3

fix #41