define Leaflet as an AMD module as well, close #1364