Example was required some changes to work. Made this changes.

Example must be work with a web server.