getFeatureInfo examples: listen to click events

This make the examples works on touch devices.