Update examples
Add window.ready()