fix #41: Missing $(document).ready() in the documentation and in the example project.