Adds global click listener and an example of client-side routing.