Add link to example, and document ready function