Updated example to Leaflet 0.5 and added explanatory comments